]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/fusion/include/boost/fusion/adapted/std_array/detail/array_size.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / fusion / include / boost / fusion / adapted / std_array / detail / array_size.hpp
1 /*=============================================================================
2 Copyright (c) 2013 Mateusz Loskot
3
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
9
10 #include <cstddef>
11 #include <type_traits>
12
13 namespace boost { namespace fusion
14 {
15 namespace extension
16 {
17 template<class T>
18 struct std_array_size;
19
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> {};
22 }
23 }}
24
25 #endif