From 1a78a62555be32868418fe52f8e330c9d0f95d5a Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 30 Oct 2012 12:57:26 -0700 Subject: Imported Upstream version 1.49.0 --- boost/fusion/container/map/detail/key_of_impl.hpp | 32 +++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 boost/fusion/container/map/detail/key_of_impl.hpp (limited to 'boost/fusion/container/map/detail/key_of_impl.hpp') diff --git a/boost/fusion/container/map/detail/key_of_impl.hpp b/boost/fusion/container/map/detail/key_of_impl.hpp new file mode 100644 index 0000000000..5a90c03784 --- /dev/null +++ b/boost/fusion/container/map/detail/key_of_impl.hpp @@ -0,0 +1,32 @@ +/*============================================================================= + Copyright (c) 2009 Christopher Schmidt + + 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) +==============================================================================*/ + +#ifndef BOOST_FUSION_CONTAINER_MAP_DETAIL_KEY_OF_IMPL_HPP +#define BOOST_FUSION_CONTAINER_MAP_DETAIL_KEY_OF_IMPL_HPP + +#include + +namespace boost { namespace fusion { namespace extension +{ + template + struct key_of_impl; + + template <> + struct key_of_impl + { + template + struct apply + { + typedef typename + value_of_impl:: + template apply::type::first_type + type; + }; + }; +}}} + +#endif -- cgit v1.2.3