File indexing completed on 2025-01-18 09:34:42
0001
0002
0003
0004
0005
0006
0007 #if !defined(FUSION_BACK_10022005_1620)
0008 #define FUSION_BACK_10022005_1620
0009
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/mpl/back.hpp>
0012 #include <boost/fusion/sequence/intrinsic/end.hpp>
0013 #include <boost/fusion/iterator/prior.hpp>
0014 #include <boost/fusion/iterator/value_of.hpp>
0015
0016 namespace boost { namespace mpl
0017 {
0018 template <typename Tag>
0019 struct back_impl;
0020
0021 template <>
0022 struct back_impl<fusion::fusion_sequence_tag>
0023 {
0024 template <typename Sequence>
0025 struct apply :
0026 fusion::result_of::value_of<
0027 typename fusion::result_of::prior<
0028 typename fusion::result_of::end<Sequence>::type
0029 >::type> {};
0030 };
0031 }}
0032
0033 #endif