1 ///////////////////////////////////////////////////////////////////////////////
2 // Copyright 2005 Daniel Wallin.
3 // Copyright 2005 Joel de Guzman.
4 // Copyright 2015 John Fletcher
6 // Use, modification and distribution is subject to the Boost Software
7 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt)
10 // This is based on is_std_hash_map.hpp which was
11 // modeled after range_ex, Copyright 2004 Eric Niebler
12 ///////////////////////////////////////////////////////////////////////////////
14 // is_unordered_set_or_map.hpp
16 /////////////////////////////////////////////////////////////////////////////
18 // Definitions of overloads for the use of find with unordered types.
20 #ifndef BOOST_PHOENIX_IS_STD_UNORDERED_SET_OR_MAP
21 #define BOOST_PHOENIX_IS_STD_UNORDERED_SET_OR_MAP
23 #include <boost/mpl/bool.hpp>
24 #include "./std_unordered_set_or_map_fwd.hpp"
29 struct is_std_unordered_set
34 struct is_std_unordered_multiset
39 struct is_std_unordered_map
44 struct is_std_unordered_multimap
48 #ifdef BOOST_PHOENIX_HAS_UNORDERED_SET_AND_MAP
56 struct is_std_unordered_set< std::unordered_set<Kty,Hash,Cmp,Alloc> >
66 struct is_std_unordered_multiset< std::unordered_multiset<Kty,Hash,Cmp,Alloc> >
77 struct is_std_unordered_map< std::unordered_map<Kty,Ty,Hash,Cmp,Alloc> >
88 struct is_std_unordered_multimap< std::unordered_multimap<Kty,Ty,Hash,Cmp,Alloc> >