C++ Logo

SG10

Advanced search

Subject: Re: [SG10] Naming guidance for __cpp_constexpr_members_defined
From: Richard Smith (richardsmith_at_[hidden])
Date: 2019-11-07 08:54:31


On Thu, 7 Nov 2019, 14:51 Barry Revzin, <barry.revzin_at_[hidden]> 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
>



SG10 list run by sg10-owner@lists.isocpp.org