123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #ifndef BOOST_MPL_BEGIN_END_HPP_INCLUDED
- #define BOOST_MPL_BEGIN_END_HPP_INCLUDED
- #include <boost/mpl/begin_end_fwd.hpp>
- #include <boost/mpl/aux_/begin_end_impl.hpp>
- #include <boost/mpl/sequence_tag.hpp>
- #include <boost/mpl/aux_/na_spec.hpp>
- #include <boost/mpl/aux_/lambda_support.hpp>
- namespace boost { namespace mpl {
- template<
- typename BOOST_MPL_AUX_NA_PARAM(Sequence)
- >
- struct begin
- {
- typedef typename sequence_tag<Sequence>::type tag_;
- typedef typename begin_impl< tag_ >
- ::template apply< Sequence >::type type;
- BOOST_MPL_AUX_LAMBDA_SUPPORT(1,begin,(Sequence))
- };
- template<
- typename BOOST_MPL_AUX_NA_PARAM(Sequence)
- >
- struct end
- {
- typedef typename sequence_tag<Sequence>::type tag_;
- typedef typename end_impl< tag_ >
- ::template apply< Sequence >::type type;
- BOOST_MPL_AUX_LAMBDA_SUPPORT(1,end,(Sequence))
- };
- BOOST_MPL_AUX_NA_SPEC(1, begin)
- BOOST_MPL_AUX_NA_SPEC(1, end)
- }}
- #endif
|