
15 Aug
2011
15 Aug
'11
9:47 a.m.
I have a question, is SFINAE_EXPR a C++0x or C++03 feature?
It's possible to have it in C++03, but it's not required before C++0x.
Thanks for the clarification. I was not aware of this detail. In this case you are right the list of c++03 compliant compilers should be larger.
John, could this feature have two corresponding macros, one optional feature BOST_HAS_SFINAE_EXPR for c++03 and one defect BOST_NO_SFINAE_EXPR for c++11?
At present we already have BOOST_NO_SFINAE_EXPR, adding a second macro just adds unnecessary redundancy IMO. Besides we've sort of already set the president that missing C++11 features have BOOST_NO_ macros and not BOOST_HAS_. John.