1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3 Copyright (c) 2005-2006 Dan Marsden
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
11 #include <boost/fusion/support/sequence_base.hpp>
12 #include <boost/mpl/is_sequence.hpp>
13 #include <boost/mpl/and.hpp>
14 #include <boost/mpl/not.hpp>
15 #include <boost/type_traits/is_convertible.hpp>
17 namespace boost { namespace fusion { namespace detail
20 struct is_mpl_sequence
22 mpl::not_<is_convertible<T, from_sequence_convertible_type> >
23 , mpl::is_sequence<T> >