is_set.hpp 869 B

1234567891011121314151617181920212223242526
  1. /*-----------------------------------------------------------------------------+
  2. Copyright (c) 2008-2009: Joachim Faulhaber
  3. +------------------------------------------------------------------------------+
  4. Distributed under the Boost Software License, Version 1.0.
  5. (See accompanying file LICENCE.txt or copy at
  6. http://www.boost.org/LICENSE_1_0.txt)
  7. +-----------------------------------------------------------------------------*/
  8. #ifndef BOOST_ICL_TYPE_TRAITS_IS_SET_HPP_JOFA_081004
  9. #define BOOST_ICL_TYPE_TRAITS_IS_SET_HPP_JOFA_081004
  10. #include <boost/config.hpp>
  11. #include <boost/icl/type_traits/is_container.hpp>
  12. namespace boost{ namespace icl
  13. {
  14. template <class Type> struct is_set
  15. {
  16. typedef is_set<Type> type;
  17. BOOST_STATIC_CONSTANT(bool, value = is_std_set<Type>::value);
  18. };
  19. }} // namespace boost icl
  20. #endif