C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Function only accepts parameter that will persist

From: Thiago Macieira <thiago_at_[hidden]>
Date: Mon, 06 May 2024 13:15:01 -0700
On Monday 6 May 2024 12:15:18 GMT-7 Frederick Virchanza Gotham via Std-
Proposals wrote:
> Okay then if it's too much grief to make a major core language update
> to add a new type modifier, then how about just standardising a new
> operator called:
>
> _Is_referent_constexpr

In other words, __builtin_constant_p ?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Principal Engineer - Intel DCAI Cloud Engineering

Received on 2024-05-06 20:15:03