]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/phoenix/stl/algorithm/detail/is_std_map.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / phoenix / stl / algorithm / detail / is_std_map.hpp
1 // Copyright 2005 Daniel Wallin.
2 // Copyright 2005 Joel de Guzman.
3 //
4 // Use, modification and distribution is subject to the Boost Software
5 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7 //
8 // Modeled after range_ex, Copyright 2004 Eric Niebler
9 ///////////////////////////////////////////////////////////////////////////////
10 //
11 // is_std_map.hpp
12 //
13 /////////////////////////////////////////////////////////////////////////////
14
15 #ifndef BOOST_PHOENIX_IS_STD_MAP_EN_16_12_2004
16 #define BOOST_PHOENIX_IS_STD_MAP_EN_16_12_2004
17
18 #include <boost/mpl/bool.hpp>
19 #include <map>
20
21 namespace boost
22 {
23 template<class T>
24 struct is_std_map
25 : boost::mpl::false_
26 {};
27
28 template<
29 class Kty
30 , class Ty
31 , class Pr
32 , class Alloc
33 >
34 struct is_std_map< ::std::map<Kty,Ty,Pr,Alloc> >
35 : boost::mpl::true_
36 {};
37
38 template<class T>
39 struct is_std_multimap
40 : boost::mpl::false_
41 {};
42
43 template<
44 class Kty
45 , class Ty
46 , class Pr
47 , class Alloc
48 >
49 struct is_std_multimap< ::std::multimap<Kty,Ty,Pr,Alloc> >
50 : boost::mpl::true_
51 {};
52 }
53
54 #endif