]> git.sesse.net Git - casparcg/blob - dependencies/boost/boost/fusion/adapted/mpl/detail/has_key_impl.hpp
Manually merged pull request #222
[casparcg] / dependencies / boost / boost / fusion / adapted / mpl / detail / has_key_impl.hpp
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/mpl/has_key.hpp>
12
13 namespace boost { namespace fusion 
14 {
15     struct mpl_sequence_tag;
16
17     namespace extension
18     {
19         template <typename Tag>
20         struct has_key_impl;
21
22         template <>
23         struct has_key_impl<mpl_sequence_tag>
24         {
25             template <typename Sequence, typename Key>
26             struct apply : mpl::has_key<Sequence, Key> {};
27         };
28     }
29 }}
30
31 #endif