1 #ifndef BOOST_METAPARSE_V1_KEEP_MIDDLE_HPP
2 #define BOOST_METAPARSE_V1_KEEP_MIDDLE_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2010.
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 #include <boost/metaparse/v1/nth_of.hpp>
10 #include <boost/metaparse/v1/transform_error_message.hpp>
11 #include <boost/metaparse/v1/get_col.hpp>
12 #include <boost/metaparse/v1/get_line.hpp>
14 #include <boost/metaparse/v1/error/unpaired.hpp>
22 template <class P1, class P2, class P3>
25 typedef middle_of type;
27 template <class S, class Pos>
33 transform_error_message<
36 get_line<Pos>::type::value,
37 get_col<Pos>::type::value
40 >::template apply<S, Pos>