Any plans to make __func__/__FUNCTION__ and __PRETTY_FUNCTION__ as constexpr

Ian Lance Taylor iant@google.com
Thu Dec 12 23:53:00 GMT 2013


On Thu, Dec 12, 2013 at 3:11 AM, niXman <i.nixman@autistici.org> wrote:
> niXman 2013-12-10 15:08:
>>
>> Is there any plans to make __func__/__FUNCTION__/__PRETTY_FUNCTION__
>> as constexpr when C++11/14 is used?
>>
>> I think it will not break backward compatibility, and, in theory,
>> should't create any problems in the future.
>> Or am I mistaken?
>
>
> ping?

In this case I believe you can take the lack of reply to mean: there
are no such plans.

If you want to suggest that change, I would recommend taking it to the
gcc@ mailing list, especially if you have a patch.

Ian



More information about the Gcc-help mailing list