Skip to content

[expr.const] Immediate-escalating clarification. #7597

Closed
@rj2k000

Description

@rj2k000

The standard should have some example code demonstrating the following.
In particular, i find it hard to visualize code for the second case, and could only guess one example for the first case, which i don't really know if that was the intention.


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
— an immediate invocation that is not a constant expression and is not a subexpression of an immediate
invocation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions