File indexing completed on 2025-01-30 09:48:02
0001
0002 #ifndef BOOST_MPL_BEGIN_END_HPP_INCLUDED
0003 #define BOOST_MPL_BEGIN_END_HPP_INCLUDED
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #include <boost/mpl/begin_end_fwd.hpp>
0018 #include <boost/mpl/aux_/begin_end_impl.hpp>
0019 #include <boost/mpl/sequence_tag.hpp>
0020 #include <boost/mpl/aux_/na_spec.hpp>
0021 #include <boost/mpl/aux_/lambda_support.hpp>
0022
0023 namespace boost { namespace mpl {
0024
0025
0026
0027
0028 template<
0029 typename BOOST_MPL_AUX_NA_PARAM(Sequence)
0030 >
0031 struct begin
0032 {
0033 typedef typename sequence_tag<Sequence>::type tag_;
0034 typedef typename begin_impl< tag_ >
0035 ::template apply< Sequence >::type type;
0036
0037 BOOST_MPL_AUX_LAMBDA_SUPPORT(1,begin,(Sequence))
0038 };
0039
0040 template<
0041 typename BOOST_MPL_AUX_NA_PARAM(Sequence)
0042 >
0043 struct end
0044 {
0045 typedef typename sequence_tag<Sequence>::type tag_;
0046 typedef typename end_impl< tag_ >
0047 ::template apply< Sequence >::type type;
0048
0049 BOOST_MPL_AUX_LAMBDA_SUPPORT(1,end,(Sequence))
0050 };
0051
0052 BOOST_MPL_AUX_NA_SPEC(1, begin)
0053 BOOST_MPL_AUX_NA_SPEC(1, end)
0054
0055 }}
0056
0057 #endif