1 /*=============================================================================
2 Copyright (c) 2013 Mateusz Loskot
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #if !defined(BOOST_FUSION_STD_ARRAY_ARRAY_SIZE_01062013_1700)
8 #define BOOST_FUSION_STD_ARRAY_ARRAY_SIZE_01062013_1700
11 #include <type_traits>
13 namespace boost { namespace fusion
18 struct std_array_size;
20 template<template<typename, std::size_t> class Array, typename T, std::size_t N>
21 struct std_array_size<Array<T, N>> : std::integral_constant<std::size_t, N> {};