Subject: [SG10] New feature test macros
From: John Spicer (jhs_at_[hidden])
Date: 2018-11-09 13:39:33
On Tuesday we discussed a few feature test macros that we want added at this meeting.
At our lunch meeting, we suggested that the language one be named specially because for these features end-users need to test the library one to know if they have both the language feature and the library facility needed to use it. The language macro is primarily of use to library implementors.
LWG did not like this approach. They want all library macros, which require a header to be included before they can be used, to begin with â__cpp_libâ. They also found âlangâ no be insufficiently clear as a way to suggest that end-users should not use that macro.
LWG would like to use:
These changes are okay with me.
What do you think of them?
The paper that describes the changes is available here:
SG10 list run by herb.sutter at gmail.com