File indexing completed on 2025-01-18 09:33:39
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_FUSION_CONTAINER_MAP_DETAIL_BEGIN_IMPL_HPP
0010 #define BOOST_FUSION_CONTAINER_MAP_DETAIL_BEGIN_IMPL_HPP
0011
0012 #include <boost/fusion/support/config.hpp>
0013 #include <boost/fusion/iterator/basic_iterator.hpp>
0014
0015 namespace boost { namespace fusion { namespace extension
0016 {
0017 template <typename>
0018 struct begin_impl;
0019
0020 template <>
0021 struct begin_impl<map_tag>
0022 {
0023 template <typename Seq>
0024 struct apply
0025 {
0026 typedef
0027 basic_iterator<
0028 map_iterator_tag
0029 , typename Seq::category
0030 , Seq
0031 , 0
0032 >
0033 type;
0034
0035 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0036 static type
0037 call(Seq& seq)
0038 {
0039 return type(seq,0);
0040 }
0041 };
0042 };
0043 }}}
0044
0045 #endif