File indexing completed on 2025-01-18 09:41:43
0001
0002 #ifndef BOOST_MPL_MAP_AUX_BEGIN_END_IMPL_HPP_INCLUDED
0003 #define BOOST_MPL_MAP_AUX_BEGIN_END_IMPL_HPP_INCLUDED
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #include <boost/mpl/begin_end_fwd.hpp>
0019 #include <boost/mpl/next_prior.hpp>
0020 #include <boost/mpl/map/aux_/iterator.hpp>
0021
0022 namespace boost { namespace mpl {
0023
0024 template<>
0025 struct begin_impl< aux::map_tag >
0026 {
0027 template< typename Map > struct apply
0028 {
0029 typedef typename next< typename Map::order >::type max_order_;
0030 typedef m_iter<
0031 Map
0032 , next_order<Map,1,max_order_::value>::value
0033 , max_order_::value
0034 > type;
0035 };
0036 };
0037
0038 template<>
0039 struct end_impl< aux::map_tag >
0040 {
0041 template< typename Map > struct apply
0042 {
0043 typedef typename next< typename Map::order >::type max_order_;
0044 typedef m_iter< Map,max_order_::value,max_order_::value > type;
0045 };
0046 };
0047
0048 }}
0049
0050 #endif