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/phoenix/config.hpp> 19 #include <boost/mpl/bool.hpp> 20 21 #ifdef BOOST_PHOENIX_HAS_HASH 22 #include BOOST_PHOENIX_HASH_SET_HEADER 23 #endif 24 25 namespace boost 26 { 27 template<class T> 28 struct is_std_hash_set 29 : boost::mpl::false_ 30 {}; 31 32 template<class T> 33 struct is_std_hash_multiset 34 : boost::mpl::false_ 35 {}; 36 37 #ifdef BOOST_PHOENIX_HAS_HASH 38 39 template<class Kty,BOOST_PHOENIX_HASH_template_rest_param> 40 struct is_std_hash_set< ::BOOST_PHOENIX_HASH_NAMESPACE::hash_set<Kty,BOOST_PHOENIX_HASH_type_rest_param> > 41 : boost::mpl::true_ 42 {}; 43 44 template<class Kty,BOOST_PHOENIX_HASH_template_rest_param> 45 struct is_std_hash_multiset< ::BOOST_PHOENIX_HASH_NAMESPACE::hash_multiset<Kty,BOOST_PHOENIX_HASH_type_rest_param> > 46 : boost::mpl::true_ 47 {}; 48 49 #endif 50 51 } 52 53 #endif 54