]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/metaparse/test/foldr1.cpp
1 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2011.
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/foldr1.hpp>
7 #include <boost/metaparse/v1/impl/front_inserter.hpp>
9 #include <boost/mpl/list.hpp>
11 using boost::metaparse::foldr1
;
12 using boost::metaparse::v1::impl::front_inserter
;
14 using boost::mpl::list
;
19 struct repeated1
: foldr1
<P
, list
<>, front_inserter
> {};
22 #define TEST_NAME foldr1
24 #include "repeated1_test.hpp"