C++ Logo

std-discussion

Advanced search

Immediate functions (2)

From: Russell Shaw <rjshaw_at_[hidden]>
Date: Mon, 27 Jan 2025 14:04:57 +1100
Hi,

In [expr.const] p.154:

------------------------------------------------
An expression or conversion is immediate-escalating if it is not initially in an
immediate function context and it is either

— a potentially-evaluated id-expression that denotes an immediate function that
is not a subexpression of an immediate invocation, or ...
------------------------------------------------

I don't understand "is not a subexpression of an immediate invocation".

It seems redundant because the clause starts with "if it is not initially in an
immediate function context".

Received on 2025-01-27 03:05:03