Date: Mon, 10 Aug 2026 12:36:29 +0200
On 2026-08-10 at 11:45, Bingzhi via Std-Proposals wrote:
> Somebody who tried to implement ranges library can get what I mean.
> I prefer noexcept(auto) than this one, but I believe this one is simpler
> to achieve.
>
You can already use a lambda in the noexcept(), like
noexcept([] {if (cond) return something; else return other; }() )
> Somebody who tried to implement ranges library can get what I mean.
> I prefer noexcept(auto) than this one, but I believe this one is simpler
> to achieve.
>
You can already use a lambda in the noexcept(), like
noexcept([] {if (cond) return something; else return other; }() )
Received on 2026-08-10 10:40:08
