Skip to content

Lack of clarity between compile-time and runtime processing of user-defined conversions #1541

@Nigel-Ecma

Description

@Nigel-Ecma

Clauses §10.5.4 User-defined implicit conversions and §10.5.5 User-defined implicit conversions both contain multi-step lists defining the compile-time steps to determine the of user-defined conversions. The final top-level step in both cases is to perform the conversions, which is a runtime action in a list of compile-time actions.

Separating the compile-time and runtime actions, say into distinct lists as is done elsewhere in the Standard, would improve clarity.

In addressing this §10.5.3 which introduces these two clauses may require changes as well to match.

(The wording mentioned here is based on the v8 text as of 23 Jan 2026.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions