1 /*=============================================================================
2 Copyright (c) 2018 Kohei Takahashi
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #ifndef BOOST_FUSION_IS_NATIVE_FUSION_SEQUENCE
8 #define BOOST_FUSION_IS_NATIVE_FUSION_SEQUENCE
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/fusion/support/sequence_base.hpp>
12 #include <boost/mpl/and.hpp>
13 #include <boost/type_traits/is_complete.hpp>
14 #include <boost/type_traits/is_convertible.hpp>
16 namespace boost { namespace fusion { namespace detail
18 template <typename Sequence>
19 struct is_native_fusion_sequence
22 , is_convertible<Sequence, detail::from_sequence_convertible_type>