[SG10] [isocpp-core] [isocpp-lib] Missing feature-test macros

Ville Voutilainen ville.voutilainen at gmail.com
Fri Oct 4 21:35:20 CEST 2019


On Fri, 4 Oct 2019 at 21:51, Richard Smith via Core
<core at lists.isocpp.org> wrote:
> For __cpp_nodiscard_reason: I'm opposed to adding this macro in isolation. Either we need to accept that version numbers for feature test macros don't work (the magic numbers are too magical) and completely rethink our approach, or we do not have adequate rationale for this.

Agreed. Testing the value of __has_cpp_attribute already provides for
this particular feature test.

The other comments of yours also seemed quite reasonable to me.


More information about the Features mailing list