• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*=============================================================================
2     Copyright (c) 2001-2011 Joel de Guzman
3     Copyright (c) 2005-2006 Dan Marsden
4 
5     Distributed under the Boost Software License, Version 1.0. (See accompanying
6     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 ==============================================================================*/
8 #if !defined(BOOST_FUSION_HAS_KEY_IMPL_31122005_1647)
9 #define BOOST_FUSION_HAS_KEY_IMPL_31122005_1647
10 
11 #include <boost/fusion/support/config.hpp>
12 #include <boost/mpl/has_key.hpp>
13 
14 namespace boost { namespace fusion
15 {
16     struct mpl_sequence_tag;
17 
18     namespace extension
19     {
20         template <typename Tag>
21         struct has_key_impl;
22 
23         template <>
24         struct has_key_impl<mpl_sequence_tag>
25         {
26             template <typename Sequence, typename Key>
27             struct apply : mpl::has_key<Sequence, Key> {};
28         };
29     }
30 }}
31 
32 #endif
33