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) 5 6 #include <boost/metaparse/foldl.hpp> 7 #include <boost/metaparse/v1/impl/back_inserter.hpp> 8 9 #include <boost/mpl/vector.hpp> 10 11 using boost::metaparse::foldl; 12 using boost::metaparse::v1::impl::back_inserter; 13 14 using boost::mpl::vector; 15 16 namespace 17 { 18 template <class P> 19 struct repeated : foldl<P, vector<>, back_inserter> {}; 20 } 21 22 #define TEST_NAME foldl 23 24 #include "repeated_test.hpp" 25 26