Skip to content

[intro.execution] p10 Imprecise terminology in "value computation of the result of the operator" #969

Description

@xmh0511

Full name of submitter (unless configured in github; will be published with the issue): Jim X

In [intro.execution], paragraph 7 (or equivalent) establishes that evaluation applies to expressions:

Evaluation of an expression...

Throughout [intro.execution], the phrase pattern "value computation of X" consistently expects X to be an expression (or subexpression), such as in "value computations of the operands of an operator".

However, [intro.execution] p10 states:

The value computations of the operands of an operator are sequenced before the value computation of the result of the operator.

This phrasing creates a grammatical and conceptual inconsistency. "The result of the operator" refers to the value, object, or reference produced by the evaluation, rather than a syntactic expression itself. Using the form "value computation of [non-expression]" can be misleading, as it implicitly suggests that "the result of the operator" is an expression.

To maintain precision and align with the rest of [intro.execution], the wording should clarify that the value computation is the process that produces or computes the result of the operator expression, rather than a computation of the result itself.

Proposed Resolution:

Not sure whether this issue is editorial; IIUC, Change [intro.execution] p10 as follows:

The value computations of the operands of an operator are sequenced before the value computation of that computes the result of the operator.

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