File indexing completed on 2025-12-16 09:45:47
0001
0002
0003
0004
0005
0006
0007
0008
0009 #if !defined(BOOST_FUSION_STD_ARRAY_SIZE_IMPL_01062013_1700)
0010 #define BOOST_FUSION_STD_ARRAY_SIZE_IMPL_01062013_1700
0011
0012 #include <boost/fusion/adapted/std_array/detail/array_size.hpp>
0013 #include <boost/type_traits/remove_const.hpp>
0014
0015 namespace boost { namespace fusion {
0016
0017 struct std_array_tag;
0018
0019 namespace extension
0020 {
0021 template<typename T>
0022 struct size_impl;
0023
0024 template<>
0025 struct size_impl<std_array_tag>
0026 {
0027 template<typename Sequence>
0028 struct apply
0029 : mpl::int_
0030 <
0031 std_array_size
0032 <
0033 typename remove_const<Sequence>::type
0034 >::value
0035 >
0036 {};
0037 };
0038 }
0039 }}
0040
0041 #endif