mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-09 17:54:46 +02:00
#defined AUX778076_CONVERT_CN_TO and used in modified AUX778076_SEQUENCE_N_ARGS
to enable enumerations to be used for T in AUX778076_SEQUENCE_N_ARGS [SVN r31196]
This commit is contained in:
@@ -124,9 +124,13 @@ namespace boost { namespace mpl {
|
||||
BOOST_PP_ENUM_PARAMS(n, AUX778076_SEQUENCE_TEMPLATE_PARAM) \
|
||||
/**/
|
||||
|
||||
# define AUX778076_CONVERT_CN_TO(z,n,TARGET) \
|
||||
TARGET(BOOST_PP_CAT(C,n)) \
|
||||
/**/
|
||||
|
||||
# define AUX778076_SEQUENCE_N_ARGS(n) \
|
||||
T BOOST_PP_COMMA_IF(n) \
|
||||
BOOST_PP_ENUM_PARAMS(n, C) \
|
||||
BOOST_PP_ENUM(n,AUX778076_CONVERT_CN_TO,T) \
|
||||
/**/
|
||||
|
||||
# define AUX778076_SEQUENCE_N_PARTIAL_SPEC_ARGS(n) \
|
||||
@@ -203,6 +207,7 @@ struct AUX778076_SEQUENCE_NAME
|
||||
#endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||
|
||||
# undef AUX778076_SEQUENCE_N_PARTIAL_SPEC_ARGS
|
||||
# undef AUX778076_CONVERT_CN_TO
|
||||
# undef AUX778076_SEQUENCE_N_ARGS
|
||||
# undef AUX778076_SEQUENCE_N_PARAMS
|
||||
# undef AUX778076_SEQUENCE_DEFAULT_PARAMS
|
||||
|
Reference in New Issue
Block a user