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_ASSOCIATIVE_ELEMENT_CONTAINER_HPP_JOFA_100831
9 #define BOOST_ICL_TYPE_TRAITS_IS_ASSOCIATIVE_ELEMENT_CONTAINER_HPP_JOFA_100831
11 #include <boost/mpl/and.hpp>
12 #include <boost/mpl/or.hpp>
13 #include <boost/mpl/not.hpp>
14 #include <boost/icl/type_traits/is_element_container.hpp>
15 #include <boost/icl/type_traits/is_set.hpp>
17 namespace boost{ namespace icl
20 struct is_associative_element_container
22 typedef is_associative_element_container type;
23 BOOST_STATIC_CONSTANT(bool, value =
24 (mpl::or_<is_element_set<Type>, is_element_map<Type> >::value));
28 }} // namespace boost icl