C++ Logo

std-proposals

Advanced search

if !consteval

From: Victor Dyachenko <__vic_at_[hidden]>
Date: Fri, 18 Oct 2019 12:39:54 +0300
Hello!

I like proposal P1938 very much but what about such cases:

if conseval {} // do nothing
else
{
     some_runtime_code();
}

It would be better to write something like

if !consteval
{
     some_runtime_code();
}

Received on 2019-10-18 04:42:12