forked from boostorg/fusion
Remove template arguments redefinition workaround for VS2022 update 5. (#268)
Update 5 adds /Zc:templateScope flag which causes compile errors in typedefs redefining template parameters.
This commit is contained in:
@ -143,7 +143,7 @@
|
|||||||
I, \
|
I, \
|
||||||
ATTRIBUTE)
|
ATTRIBUTE)
|
||||||
|
|
||||||
#ifdef BOOST_MSVC
|
#if defined(BOOST_MSVC) && (BOOST_MSVC < 1935)
|
||||||
# define BOOST_FUSION_ADAPT_STRUCT_MSVC_REDEFINE_TEMPLATE_PARAM(R,_,ELEM) \
|
# define BOOST_FUSION_ADAPT_STRUCT_MSVC_REDEFINE_TEMPLATE_PARAM(R,_,ELEM) \
|
||||||
typedef ELEM ELEM;
|
typedef ELEM ELEM;
|
||||||
# define BOOST_FUSION_ADAPT_STRUCT_MSVC_REDEFINE_TEMPLATE_PARAMS_IMPL(SEQ) \
|
# define BOOST_FUSION_ADAPT_STRUCT_MSVC_REDEFINE_TEMPLATE_PARAMS_IMPL(SEQ) \
|
||||||
|
Reference in New Issue
Block a user