1 /*============================================================================= 2 Copyright (c) 2001-2011 Joel de Guzman 3 Copyright (c) 2005-2006 Dan Marsden 4 5 Distributed under the Boost Software License, Version 1.0. (See accompanying 6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 7 ==============================================================================*/ 8 #if !defined(FUSION_DETAIL_IS_MPL_SEQUENCE_29122006_1105) 9 #define FUSION_DETAIL_IS_MPL_SEQUENCE_29122006_1105 10 11 #include <boost/fusion/support/config.hpp> 12 #include <boost/fusion/support/sequence_base.hpp> 13 #include <boost/mpl/is_sequence.hpp> 14 #include <boost/mpl/and.hpp> 15 #include <boost/mpl/not.hpp> 16 #include <boost/type_traits/is_convertible.hpp> 17 18 namespace boost { namespace fusion { namespace detail 19 { 20 template <typename T> 21 struct is_mpl_sequence 22 : mpl::and_< 23 mpl::not_<is_convertible<T, from_sequence_convertible_type> > 24 , mpl::is_sequence<T> > 25 {}; 26 }}} 27 28 #endif 29