File indexing completed on 2025-01-18 09:34:42
0001
0002
0003
0004
0005
0006
0007 #if !defined(FUSION_ERASE_10022005_1835)
0008 #define FUSION_ERASE_10022005_1835
0009
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/mpl/erase.hpp>
0012 #include <boost/fusion/support/tag_of.hpp>
0013 #include <boost/fusion/algorithm/transformation/erase.hpp>
0014 #include <boost/fusion/sequence/convert.hpp>
0015
0016 namespace boost { namespace mpl
0017 {
0018 template <typename Tag>
0019 struct erase_impl;
0020
0021 template <>
0022 struct erase_impl<fusion::fusion_sequence_tag>
0023 {
0024 template <typename Sequence, typename First, typename Last>
0025 struct apply
0026 {
0027 typedef typename
0028 fusion::result_of::erase<Sequence, First, Last>::type
0029 result;
0030
0031 typedef typename
0032 fusion::result_of::convert<
0033 typename fusion::detail::tag_of<Sequence>::type, result>::type
0034 type;
0035 };
0036 };
0037 }}
0038
0039 #endif
0040