2016-07-22 18:52:20 -04:00
|
|
|
/*=============================================================================
|
|
|
|
Copyright (c) 2016 Lee Clagett
|
2018-01-29 12:03:19 +09:00
|
|
|
Copyright (c) 2018 Kohei Takahashi
|
2016-07-22 18:52:20 -04:00
|
|
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
==============================================================================*/
|
|
|
|
|
|
|
|
#include <boost/config.hpp>
|
|
|
|
|
2018-01-29 12:03:19 +09:00
|
|
|
#ifdef BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
|
|
|
# error "does not meet requirements"
|
|
|
|
#endif
|
2016-07-22 18:52:20 -04:00
|
|
|
|
|
|
|
#include <boost/fusion/support/detail/and.hpp>
|
|
|
|
#include <boost/mpl/bool.hpp>
|
2018-03-14 14:41:43 +09:00
|
|
|
#include <boost/mpl/assert.hpp>
|
2016-07-22 18:52:20 -04:00
|
|
|
|
2018-03-14 14:41:43 +09:00
|
|
|
using namespace boost;
|
|
|
|
using namespace boost::fusion::detail;
|
2016-07-22 18:52:20 -04:00
|
|
|
|
2018-03-14 14:41:43 +09:00
|
|
|
BOOST_MPL_ASSERT((and_<>));
|
|
|
|
BOOST_MPL_ASSERT_NOT((and_<false_type>));
|
|
|
|
BOOST_MPL_ASSERT((and_<true_type>));
|
|
|
|
BOOST_MPL_ASSERT_NOT((and_<true_type, false_type>));
|
|
|
|
BOOST_MPL_ASSERT((and_<true_type, true_type>));
|
|
|
|
BOOST_MPL_ASSERT_NOT((and_<true_type, true_type, false_type>));
|
|
|
|
BOOST_MPL_ASSERT((and_<true_type, true_type, true_type>));
|
|
|
|
BOOST_MPL_ASSERT((and_<true_type, mpl::true_>));
|