File indexing completed on 2025-01-18 09:40:48
0001 #ifndef BOOST_METAPARSE_V1_CPP98_IMPL_LATER_RESULT_HPP
0002 #define BOOST_METAPARSE_V1_CPP98_IMPL_LATER_RESULT_HPP
0003
0004
0005
0006
0007
0008
0009 #include <boost/metaparse/v1/get_position.hpp>
0010
0011 #include <boost/mpl/if.hpp>
0012 #include <boost/mpl/less.hpp>
0013
0014 namespace boost
0015 {
0016 namespace metaparse
0017 {
0018 namespace v1
0019 {
0020 namespace impl
0021 {
0022 template <class R1, class R2>
0023 struct later_result :
0024 boost::mpl::if_<
0025 typename boost::mpl::less<
0026 typename get_position<R2>::type,
0027 typename get_position<R1>::type
0028 >::type,
0029 R1,
0030 R2
0031 >
0032 {};
0033 }
0034 }
0035 }
0036 }
0037
0038 #endif
0039