File indexing completed on 2025-01-18 09:34:59
0001
0002
0003
0004
0005
0006
0007 #if !defined(FUSION_END_IMPL_07202005_0851)
0008 #define FUSION_END_IMPL_07202005_0851
0009
0010 namespace boost { namespace fusion
0011 {
0012 struct reverse_view_tag;
0013
0014 template <typename Iterator>
0015 struct reverse_view_iterator;
0016
0017 namespace extension
0018 {
0019 template <typename Tag>
0020 struct end_impl;
0021
0022 template <>
0023 struct end_impl<reverse_view_tag>
0024 {
0025 template <typename Sequence>
0026 struct apply
0027 {
0028 typedef reverse_view_iterator<typename Sequence::first_type> type;
0029
0030 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0031 static type
0032 call(Sequence const& s)
0033 {
0034 return type(s.first());
0035 }
0036 };
0037 };
0038 }
0039 }}
0040
0041 #endif
0042
0043