1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3 Copyright (c) 2005-2006 Dan Marsden
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_VALUE_AT_KEY_IMPL_20060223_2025)
9 #define BOOST_FUSION_VALUE_AT_KEY_IMPL_20060223_2025
19 struct example_sequence_tag;
22 namespace boost { namespace fusion {
26 template<typename Tag>
27 struct value_at_key_impl;
30 struct value_at_key_impl<example::example_sequence_tag>
32 template<typename Sequence, typename N>
35 template<typename Sequence>
36 struct apply<Sequence, fields::name>
38 typedef std::string type;
41 template<typename Sequence>
42 struct apply<Sequence, fields::age>