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) 5 6 #include <boost/metaparse/v1/impl/back_inserter.hpp> 7 8 #include <boost/mpl/assert.hpp> 9 #include <boost/mpl/equal.hpp> 10 #include <boost/mpl/deque.hpp> 11 12 #include "test_case.hpp" 13 BOOST_METAPARSE_TEST_CASE(back_inserter)14BOOST_METAPARSE_TEST_CASE(back_inserter) 15 { 16 using boost::metaparse::v1::impl::back_inserter; 17 18 using boost::mpl::equal; 19 using boost::mpl::deque; 20 21 // test_inserts_at_the_back 22 BOOST_MPL_ASSERT(( 23 equal<deque<int, char>, back_inserter::apply<deque<int>, char>::type> 24 )); 25 } 26 27