]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/fusion/support/detail/is_mpl_sequence.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / fusion / support / detail / is_mpl_sequence.hpp
CommitLineData
7c673cae
FG
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>
92f5a8d4 12#include <boost/fusion/support/detail/is_native_fusion_sequence.hpp>
7c673cae
FG
13#include <boost/mpl/is_sequence.hpp>
14#include <boost/mpl/and.hpp>
15#include <boost/mpl/not.hpp>
7c673cae
FG
16
17namespace boost { namespace fusion { namespace detail
18{
19 template <typename T>
20 struct is_mpl_sequence
21 : mpl::and_<
92f5a8d4 22 mpl::not_<is_native_fusion_sequence<T> >
7c673cae
FG
23 , mpl::is_sequence<T> >
24 {};
25}}}
26
27#endif