Warning, file /include/boost/vmd/array/to_tuple.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007 #if !defined(BOOST_VMD_ARRAY_TO_TUPLE_HPP)
0008 #define BOOST_VMD_ARRAY_TO_TUPLE_HPP
0009
0010 #include <boost/vmd/detail/setup.hpp>
0011
0012 #if BOOST_PP_VARIADICS
0013
0014 #include <boost/preprocessor/control/iif.hpp>
0015 #include <boost/preprocessor/array/to_tuple.hpp>
0016 #include <boost/vmd/empty.hpp>
0017 #include <boost/vmd/is_empty_array.hpp>
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038 #define BOOST_VMD_ARRAY_TO_TUPLE(array) \
0039 BOOST_PP_IIF \
0040 ( \
0041 BOOST_VMD_IS_EMPTY_ARRAY(array), \
0042 BOOST_VMD_EMPTY, \
0043 BOOST_PP_ARRAY_TO_TUPLE \
0044 ) \
0045 (array) \
0046
0047
0048 #endif
0049 #endif