Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:31:08

0001 /*=============================================================================
0002     Copyright (c) 2001-2011 Joel de Guzman
0003     Copyright (c) 2005-2006 Dan Marsden
0004     Copyright (c) 2009-2010 Christopher Schmidt
0005 
0006     Distributed under the Boost Software License, Version 1.0. (See accompanying
0007     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0008 ==============================================================================*/
0009 
0010 #ifndef BOOST_FUSION_ADAPTED_STRUCT_DETAIL_VALUE_AT_IMPL_HPP
0011 #define BOOST_FUSION_ADAPTED_STRUCT_DETAIL_VALUE_AT_IMPL_HPP
0012 
0013 namespace boost { namespace fusion { namespace extension
0014 {
0015     template<typename>
0016     struct value_at_impl;
0017 
0018     template <>
0019     struct value_at_impl<struct_tag>
0020     {
0021         template <typename Seq, typename N>
0022         struct apply
0023           : access::struct_member<typename remove_const<Seq>::type, N::value>
0024         {};
0025     };
0026 
0027     template <>
0028     struct value_at_impl<assoc_struct_tag>
0029       : value_at_impl<struct_tag>
0030     {};
0031 }}}
0032 
0033 #endif