2 // (C) Copyright Edward Diener 2011-2015
3 // Use, modification and distribution are subject to the Boost Software License,
4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt).
7 #if !defined(BOOST_VMD_DETAIL_SEQUENCE_SIZE_HPP)
8 #define BOOST_VMD_DETAIL_SEQUENCE_SIZE_HPP
10 #include <boost/preprocessor/array/size.hpp>
11 #include <boost/vmd/detail/sequence_to_array.hpp>
13 #define BOOST_VMD_DETAIL_SEQUENCE_SIZE(vseq) \
14 BOOST_PP_ARRAY_SIZE(BOOST_VMD_DETAIL_SEQUENCE_TO_ARRAY(vseq)) \
17 #define BOOST_VMD_DETAIL_SEQUENCE_SIZE_D(d,vseq) \
18 BOOST_PP_ARRAY_SIZE(BOOST_VMD_DETAIL_SEQUENCE_TO_ARRAY_D(d,vseq)) \
21 #endif /* BOOST_VMD_DETAIL_SEQUENCE_SIZE_HPP */