]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/phoenix/include/boost/phoenix/stl/algorithm/detail/is_std_hash_set.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / phoenix / include / boost / phoenix / stl / algorithm / detail / is_std_hash_set.hpp
CommitLineData
7c673cae
FG
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_hash_set.hpp
12//
13/////////////////////////////////////////////////////////////////////////////
14
15#ifndef BOOST_PHOENIX_IS_STD_HASH_SET_EN_16_12_2004
16#define BOOST_PHOENIX_IS_STD_HASH_SET_EN_16_12_2004
17
18#include <boost/mpl/bool.hpp>
19#include "./std_hash_set_fwd.hpp"
20
21namespace boost
22{
23 template<class T>
24 struct is_std_hash_set
25 : boost::mpl::false_
26 {};
27
28 template<class T>
29 struct is_std_hash_multiset
30 : boost::mpl::false_
31 {};
32
33#if defined(BOOST_HAS_HASH)
34
35 template<
36 class Kty
37 , class Hash
38 , class Cmp
39 , class Alloc
40 >
41 struct is_std_hash_set< ::BOOST_STD_EXTENSION_NAMESPACE::hash_set<Kty,Hash,Cmp,Alloc> >
42 : boost::mpl::true_
43 {};
44
45 template<
46 class Kty
47 , class Hash
48 , class Cmp
49 , class Alloc
50 >
51 struct is_std_hash_multiset< ::BOOST_STD_EXTENSION_NAMESPACE::hash_multiset<Kty,Hash,Cmp,Alloc> >
52 : boost::mpl::true_
53 {};
54
55#elif defined(BOOST_DINKUMWARE_STDLIB)
56
57 template<
58 class Kty
59 , class Tr
60 , class Alloc
61 >
62 struct is_std_hash_set< ::BOOST_STD_EXTENSION_NAMESPACE::hash_set<Kty,Tr,Alloc> >
63 : boost::mpl::true_
64 {};
65
66 template<
67 class Kty
68 , class Tr
69 , class Alloc
70 >
71 struct is_std_hash_multiset< ::BOOST_STD_EXTENSION_NAMESPACE::hash_multiset<Kty,Tr,Alloc> >
72 : boost::mpl::true_
73 {};
74
75#endif
76
77}
78
79#endif