[SG10] Naming guidance for __cpp_constexpr_members_defined

Richard Smith richardsmith at google.com
Thu Nov 7 15:54:31 CET 2019


On Thu, 7 Nov 2019, 14:51 Barry Revzin, <barry.revzin at gmail.com> wrote:

> The current draft of D1902R1 proposes adding the macro
> __cpp_constexpr_members_defined for the resolution of Core Issue 1581: When
> are constexpr members defined?
> http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1581
>
> I took the name of the macro directly from the core issue title. This
> macro will be important for implementing certain library functionality
> (e.g. constexpr invoke), but there was concern expressed in Evolution as to
> the specific choice of the name of this macro. Richard in session suggested
> that the name should be something like __cpp_constexpr_decltype instead,
> given that that's what the issue's resolution is kind of about.
>
> Does anybody having any naming preference for this macro?
>

Maybe __cpp_constexpr_in_decltype would be clearer?

Thanks,
>
> Barry
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open-std.org/pipermail/features/attachments/20191107/5b72b940/attachment.html 


More information about the Features mailing list