File indexing completed on 2025-01-18 09:48:24
0001 #
0002
0003
0004
0005
0006
0007
0008
0009 #
0010 #
0011 #
0012 # ifndef BOOST_PREPROCESSOR_FACILITIES_IS_EMPTY_OR_1_HPP
0013 # define BOOST_PREPROCESSOR_FACILITIES_IS_EMPTY_OR_1_HPP
0014 #
0015 # include <boost/preprocessor/control/iif.hpp>
0016 # include <boost/preprocessor/facilities/empty.hpp>
0017 # include <boost/preprocessor/facilities/identity.hpp>
0018 # include <boost/preprocessor/facilities/is_1.hpp>
0019 # include <boost/preprocessor/facilities/is_empty.hpp>
0020 #
0021 #
0022 #
0023 # define BOOST_PP_IS_EMPTY_OR_1(x) \
0024 BOOST_PP_IIF( \
0025 BOOST_PP_IS_EMPTY(x BOOST_PP_EMPTY()), \
0026 BOOST_PP_IDENTITY(1), \
0027 BOOST_PP_IS_1 \
0028 )(x) \
0029
0030 #
0031 # endif