File indexing completed on 2025-01-18 09:31:08
0001
0002
0003
0004
0005
0006
0007
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