Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:45:47

0001 /*=============================================================================
0002     Copyright (c) 2013 Mateusz Loskot
0003     Copyright (c) 2001-2011 Joel de Guzman
0004     Copyright (c) 2005-2006 Dan Marsden
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 #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