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_set.hpp
12 //
13 /////////////////////////////////////////////////////////////////////////////
14 
15 #if defined(_MSC_VER)
16 # pragma once
17 #endif
18 
19 #ifndef BOOST_PHOENIX_IS_STD_SET_EN_16_12_2004
20 #define BOOST_PHOENIX_IS_STD_SET_EN_16_12_2004
21 
22 #include <boost/mpl/bool.hpp>
23 #include <set>
24 
25 namespace boost
26 {
27     template<class T>
28     struct is_std_set
29         : boost::mpl::false_
30     {};
31 
32     template<
33         class Kty
34       , class Pr
35       , class Alloc
36     >
37     struct is_std_set< ::std::set<Kty,Pr,Alloc> >
38         : boost::mpl::true_
39     {};
40 
41     template<class T>
42     struct is_std_multiset
43         : boost::mpl::false_
44     {};
45 
46     template<
47         class Kty
48       , class Pr
49       , class Alloc
50     >
51     struct is_std_multiset< ::std::multiset<Kty,Pr,Alloc> >
52         : boost::mpl::true_
53     {};
54 }
55 
56 #endif
57