Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:47:40

0001 // Copyright 2005 Daniel Wallin.
0002 // Copyright 2005 Joel de Guzman.
0003 //
0004 // Use, modification and distribution is subject to the Boost Software
0005 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0006 // http://www.boost.org/LICENSE_1_0.txt)
0007 //
0008 // Modeled after range_ex, Copyright 2004 Eric Niebler
0009 ///////////////////////////////////////////////////////////////////////////////
0010 //
0011 // is_std_hash_map.hpp
0012 //
0013 /////////////////////////////////////////////////////////////////////////////
0014 
0015 #ifndef BOOST_PHOENIX_IS_STD_HASH_MAP_EN_16_12_2004
0016 #define BOOST_PHOENIX_IS_STD_HASH_MAP_EN_16_12_2004
0017 
0018 #include <boost/phoenix/config.hpp>
0019 #include <boost/mpl/bool.hpp>
0020 
0021 #ifdef BOOST_PHOENIX_HAS_HASH
0022 #include BOOST_PHOENIX_HASH_MAP_HEADER
0023 #endif
0024 
0025 namespace boost
0026 {
0027     template<class T>
0028     struct is_std_hash_map
0029         : boost::mpl::false_
0030     {};
0031 
0032     template<class T>
0033     struct is_std_hash_multimap
0034         : boost::mpl::false_
0035     {};
0036 
0037 #ifdef BOOST_PHOENIX_HAS_HASH
0038 
0039     template<class Kty,class Ty,BOOST_PHOENIX_HASH_template_rest_param>
0040     struct is_std_hash_map< ::BOOST_PHOENIX_HASH_NAMESPACE::hash_map<Kty,Ty,BOOST_PHOENIX_HASH_type_rest_param> >
0041         : boost::mpl::true_
0042     {};
0043 
0044     template<class Kty,class Ty,BOOST_PHOENIX_HASH_template_rest_param>
0045     struct is_std_hash_multimap< ::BOOST_PHOENIX_HASH_NAMESPACE::hash_multimap<Kty,Ty,BOOST_PHOENIX_HASH_type_rest_param> >
0046         : boost::mpl::true_
0047     {};
0048 
0049 #endif
0050 
0051 }
0052 
0053 #endif