/usr/include/boost/metaparse/v1/cpp98/impl
NameSizeModeActions
at_c.hpp14700644editdlrm
empty_string.hpp7130644editdlrm
is_none.hpp19650644editdlrm
later_result.hpp8700644editdlrm
nth_of_c.hpp17570644editdlrm
nth_of_c_impl.hpp20690644editdlrm
one_char_except_not_used.hpp5280644editdlrm
one_of.hpp10120644editdlrm
one_of_fwd_op.hpp11620644editdlrm
pop_back.hpp9250644editdlrm
pop_front.hpp14360644editdlrm
push_back_c.hpp8310644editdlrm
push_front_c.hpp11220644editdlrm
sequence.hpp16020644editdlrm
sequence_impl.hpp8390644editdlrm
size.hpp16970644editdlrm
skip_seq.hpp20890644editdlrm
update_c.hpp21280644editdlrm
Edit: /usr/include/boost/metaparse/v1/cpp98/impl/nth_of_c_impl.hpp (2069B)
#ifndef BOOST_METAPARSE_V1_CPP98_IMPL_NTH_OF_C_IMPL_HPP #define BOOST_METAPARSE_V1_CPP98_IMPL_NTH_OF_C_IMPL_HPP // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include #include #include #include namespace boost { namespace metaparse { namespace v1 { namespace impl { template struct nth_of_c_impl { private: template struct apply_unchecked : nth_of_c_impl< N - 1, typename boost::mpl::pop_front::type >::template apply< typename get_remaining::type, typename get_position::type > {}; public: typedef nth_of_c_impl type; template struct apply : boost::mpl::eval_if< typename is_error< typename boost::mpl::front::type::template apply >::type, typename boost::mpl::front::type::template apply, apply_unchecked< typename boost::mpl::front::type::template apply > > {}; }; template struct nth_of_c_impl<0, Seq> { typedef nth_of_c_impl type; template struct apply : boost::mpl::fold< typename boost::mpl::pop_front::type, typename boost::mpl::front::type::template apply< S, Pos >::type, skip_seq > {}; }; } } } } #endif