forked from boostorg/fusion
phase3: refactoring for v2.1
[SVN r40211]
This commit is contained in:
27
include/boost/fusion/mpl/has_key.hpp
Normal file
27
include/boost/fusion/mpl/has_key.hpp
Normal file
@ -0,0 +1,27 @@
|
||||
/*=============================================================================
|
||||
Copyright (c) 2001-2006 Joel de Guzman
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
==============================================================================*/
|
||||
#if !defined(FUSION_HAS_KEY_10022005_1617)
|
||||
#define FUSION_HAS_KEY_10022005_1617
|
||||
|
||||
#include <boost/mpl/has_key.hpp>
|
||||
#include <boost/fusion/sequence/intrinsic/has_key.hpp>
|
||||
|
||||
namespace boost { namespace mpl
|
||||
{
|
||||
template <typename Tag>
|
||||
struct has_key_impl;
|
||||
|
||||
template <>
|
||||
struct has_key_impl<fusion::fusion_sequence_tag>
|
||||
{
|
||||
template <typename Sequence, typename Key>
|
||||
struct apply : fusion::result_of::has_key<Sequence, Key> {};
|
||||
};
|
||||
}}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user