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_AT_IMPL_HPP
0011 #define BOOST_FUSION_ADAPTED_STRUCT_DETAIL_AT_IMPL_HPP
0012 
0013 #include <boost/fusion/support/config.hpp>
0014 #include <boost/mpl/int.hpp>
0015 
0016 namespace boost { namespace fusion { namespace extension
0017 {
0018     template<typename>
0019     struct at_impl;
0020 
0021     template <>
0022     struct at_impl<struct_tag>
0023     {
0024         template <typename Seq, typename N>
0025         struct apply
0026           : access::struct_member<
0027                 typename remove_const<Seq>::type
0028               , N::value
0029             >::template apply<Seq>
0030         {};
0031     };
0032 
0033     template <>
0034     struct at_impl<assoc_struct_tag>
0035       : at_impl<struct_tag>
0036     {};
0037 }}}
0038 
0039 #endif