1 | /*============================================================================= |
---|---|
2 | Copyright (c) 2001-2011 Joel de Guzman |
3 | |
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_HAS_KEY_10022005_1617) |
8 | #define FUSION_HAS_KEY_10022005_1617 |
9 | |
10 | #include <boost/fusion/support/config.hpp> |
11 | #include <boost/mpl/has_key.hpp> |
12 | #include <boost/fusion/sequence/intrinsic/has_key.hpp> |
13 | |
14 | namespace boost { namespace mpl |
15 | { |
16 | template <typename Tag> |
17 | struct has_key_impl; |
18 | |
19 | template <> |
20 | struct has_key_impl<fusion::fusion_sequence_tag> |
21 | { |
22 | template <typename Sequence, typename Key> |
23 | struct apply : fusion::result_of::has_key<Sequence, Key> {}; |
24 | }; |
25 | }} |
26 | |
27 | #endif |
28 | |
29 |