]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/metaparse/test/unpaired.cpp
1 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2015.
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)
6 #include <boost/metaparse/error/unpaired.hpp>
8 #include <boost/mpl/assert.hpp>
10 #include <boost/type_traits/is_same.hpp>
12 #include "test_case.hpp"
18 typedef some_tmp_value type
;
22 BOOST_METAPARSE_TEST_CASE(unpaired
)
24 using boost::metaparse::error::unpaired
;
28 // test_unpaired_currying
31 unpaired
<1, 2, some_tmp_value
>,
32 unpaired
<1, 2>::apply
<some_tmp_value
>::type