Namespaces
Variants
Actions

Talk:cpp/language/consteval

From cppreference.com

Hi maybe there:

consteval auto g() { return f; }

must be this:

consteval auto g() { return f(); }

Is it true or I miss something.

Peter. 78.128.212.6 04:16, 13 February 2020 (PST)

It's intended to let g return a function pointer. --Fruderica (talk) 05:08, 13 February 2020 (PST)