]> git.lyx.org Git - lyx.git/blob - 3rdparty/boost/boost/fusion/support/detail/is_native_fusion_sequence.hpp
Update to boost 1.72
[lyx.git] / 3rdparty / boost / boost / fusion / support / detail / is_native_fusion_sequence.hpp
1 /*=============================================================================
2     Copyright (c) 2018 Kohei Takahashi
3
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
9
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>
15
16 namespace boost { namespace fusion { namespace detail
17 {
18     template <typename Sequence>
19     struct is_native_fusion_sequence
20       : mpl::and_<
21           is_complete<Sequence>
22         , is_convertible<Sequence, detail::from_sequence_convertible_type>
23       >
24     {};
25 }}}
26
27 #endif