| 1 | /* Copyright 2008 Vicente J. Botet Escriba
|
|---|
| 2 | * Distributed under the Boost Software License, Version 1.0.
|
|---|
| 3 | * (See accompanying file LICENSE_1_0.txt or copy at
|
|---|
| 4 | * http://www.boost.org/LICENSE_1_0.txt)
|
|---|
| 5 | *
|
|---|
| 6 | * See http://www.boost.org/libs/luid for library home page.
|
|---|
| 7 | */
|
|---|
| 8 |
|
|---|
| 9 | #include <boost/mpl_ext/and_seq.hpp>
|
|---|
| 10 | #include <boost/static_assert.hpp>
|
|---|
| 11 | #include <boost/mpl/vector.hpp>
|
|---|
| 12 | #include <boost/mpl/not.hpp>
|
|---|
| 13 | #include <boost/mpl/bool.hpp>
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 | namespace bldsl = ::boost::mpl_ext;
|
|---|
| 17 | using namespace boost::mpl;
|
|---|
| 18 | struct unknown;
|
|---|
| 19 |
|
|---|
| 20 | //____________________________________________________________________________//
|
|---|
| 21 |
|
|---|
| 22 | BOOST_STATIC_ASSERT((bldsl::and_seq<vector<true_> >::value));
|
|---|
| 23 | BOOST_STATIC_ASSERT((bldsl::and_seq<vector<true_, true_> >::value));
|
|---|
| 24 | BOOST_STATIC_ASSERT((bldsl::and_seq<vector<true_, true_, true_, true_, true_> >::value));
|
|---|
| 25 | BOOST_STATIC_ASSERT((not_<bldsl::and_seq<vector<true_, false_> > >::value));
|
|---|
| 26 | BOOST_STATIC_ASSERT((not_<bldsl::and_seq<vector<false_, false_> > >::value));
|
|---|
| 27 | BOOST_STATIC_ASSERT((not_<bldsl::and_seq<vector<false_, true_> > >::value));
|
|---|
| 28 | BOOST_STATIC_ASSERT((not_<bldsl::and_seq<vector<false_, unknown, false_> > >::value));
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 | //static void test(void)
|
|---|
| 33 | //{
|
|---|
| 34 | //}
|
|---|
| 35 |
|
|---|
| 36 | //____________________________________________________________________________//
|
|---|
| 37 |
|
|---|