File indexing completed on 2025-01-18 09:38:50
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_IOSTREAMS_DETAIL_TEMPLATE_PARAMS_HPP_INCLUDED
0009
0010 #include <boost/preprocessor/control/expr_if.hpp>
0011 #include <boost/preprocessor/control/if.hpp>
0012 #include <boost/preprocessor/repetition/enum_params.hpp>
0013
0014 #define BOOST_IOSTREAMS_TEMPLATE_PARAMS(arity, param) \
0015 BOOST_PP_EXPR_IF(arity, template<) \
0016 BOOST_PP_ENUM_PARAMS(arity, typename param) \
0017 BOOST_PP_EXPR_IF(arity, >) \
0018
0019
0020 #define BOOST_IOSTREAMS_TEMPLATE_ARGS(arity, param) \
0021 BOOST_PP_EXPR_IF(arity, <) \
0022 BOOST_PP_ENUM_PARAMS(arity, param) \
0023 BOOST_PP_EXPR_IF(arity, >) \
0024
0025
0026 #endif