1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #if !defined(FUSION_ERASE_KEY_10022005_1907)
8 #define FUSION_ERASE_KEY_10022005_1907
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/mpl/erase_key.hpp>
12 #include <boost/fusion/support/tag_of.hpp>
13 #include <boost/fusion/algorithm/transformation/erase_key.hpp>
14 #include <boost/fusion/sequence/convert.hpp>
16 namespace boost { namespace mpl
18 template <typename Tag>
19 struct erase_key_impl;
22 struct erase_key_impl<fusion::fusion_sequence_tag>
24 template <typename Sequence, typename Key>
28 fusion::result_of::erase_key<Sequence, Key>::type
32 fusion::result_of::convert<
33 typename fusion::detail::tag_of<Sequence>::type, result>::type