]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/icl/include/boost/icl/type_traits/is_icl_container.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / icl / include / boost / icl / type_traits / is_icl_container.hpp
1 /*-----------------------------------------------------------------------------+
2 Copyright (c) 2010-2010: 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_ICL_CONTAINER_HPP_JOFA_100831
9 #define BOOST_ICL_TYPE_TRAITS_IS_ICL_CONTAINER_HPP_JOFA_100831
10
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_interval_container.hpp>
16 #include <boost/icl/type_traits/is_set.hpp>
17
18 namespace boost{ namespace icl
19 {
20 template <class Type>
21 struct is_icl_container
22 {
23 typedef is_icl_container<Type> type;
24 BOOST_STATIC_CONSTANT(bool, value =
25 (mpl::or_< is_element_container<Type>
26 , is_interval_container<Type> >::value));
27 };
28
29 }} // namespace boost icl
30
31 #endif
32
33