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/detail/is_native_fusion_sequence.hpp> |
13 | #include <boost/mpl/is_sequence.hpp> |
14 | #include <boost/mpl/and.hpp> |
15 | #include <boost/mpl/not.hpp> |
16 | |
17 | namespace boost { namespace fusion { namespace detail |
18 | { |
19 | template <typename T> |
20 | struct is_mpl_sequence |
21 | : mpl::and_< |
22 | mpl::not_<is_native_fusion_sequence<T> > |
23 | , mpl::is_sequence<T> > |
24 | {}; |
25 | }}} |
26 | |
27 | #endif |
28 |