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_list.hpp 12 // 13 ///////////////////////////////////////////////////////////////////////////// 14 15 #ifndef BOOST_PHOENIX_IS_STD_LIST_EN_16_12_2004 16 #define BOOST_PHOENIX_IS_STD_LIST_EN_16_12_2004 17 18 #include <boost/mpl/bool.hpp> 19 #include <list> 20 21 namespace boost 22 { 23 template<class T> 24 struct is_std_list 25 : boost::mpl::false_ 26 {}; 27 28 template< 29 class Ty 30 , class Alloc 31 > 32 struct is_std_list< ::std::list<Ty,Alloc> > 33 : boost::mpl::true_ 34 {}; 35 } 36 37 #endif 38