File indexing completed on 2025-01-18 09:40:48
0001 #ifndef BOOST_METAPARSE_V1_CPP98_FIRST_OF_HPP
0002 #define BOOST_METAPARSE_V1_CPP98_FIRST_OF_HPP
0003
0004
0005
0006
0007
0008
0009 #include <boost/metaparse/v1/cpp98/nth_of_c.hpp>
0010
0011 namespace boost
0012 {
0013 namespace metaparse
0014 {
0015 namespace v1
0016 {
0017 template <
0018 BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(
0019 BOOST_METAPARSE_LIMIT_SEQUENCE_SIZE,
0020 class P,
0021 boost::mpl::na
0022 )
0023 >
0024 struct first_of :
0025 nth_of_c<
0026 0,
0027 BOOST_PP_ENUM_PARAMS(BOOST_METAPARSE_LIMIT_SEQUENCE_SIZE, P)
0028 >
0029 {};
0030 }
0031 }
0032 }
0033
0034 #endif
0035