File indexing completed on 2025-01-18 09:53:36
0001
0002
0003
0004
0005
0006
0007 #if !defined(BOOST_VMD_DETAIL_IS_ARRAY_HPP)
0008 #define BOOST_VMD_DETAIL_IS_ARRAY_HPP
0009
0010 #include <boost/preprocessor/control/iif.hpp>
0011 #include <boost/vmd/identity.hpp>
0012 #include <boost/vmd/is_tuple.hpp>
0013 #include <boost/vmd/detail/is_array_common.hpp>
0014
0015 #define BOOST_VMD_DETAIL_IS_ARRAY(vseq) \
0016 BOOST_VMD_IDENTITY_RESULT \
0017 ( \
0018 BOOST_PP_IIF \
0019 ( \
0020 BOOST_VMD_IS_TUPLE(vseq), \
0021 BOOST_VMD_DETAIL_IS_ARRAY_SYNTAX, \
0022 BOOST_VMD_IDENTITY(0) \
0023 ) \
0024 (vseq) \
0025 ) \
0026
0027
0028 #define BOOST_VMD_DETAIL_IS_ARRAY_D(d,vseq) \
0029 BOOST_VMD_IDENTITY_RESULT \
0030 ( \
0031 BOOST_PP_IIF \
0032 ( \
0033 BOOST_VMD_IS_TUPLE(vseq), \
0034 BOOST_VMD_DETAIL_IS_ARRAY_SYNTAX_D, \
0035 BOOST_VMD_IDENTITY(0) \
0036 ) \
0037 (d,vseq) \
0038 ) \
0039
0040
0041 #endif