This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of New status.

3507. P0881R7 ("stacktrace") does not define "actual file name", "actual line number"

Section: 20.21.3.4 [stacktrace.entry.query] Status: New Submitter: Thomas Köppe Opened: 2020-12-02 Last modified: 2021-01-16

Priority: 2

View all issues with New status.

Discussion:

The specification of 20.21.3.4 [stacktrace.entry.query] uses the terms "presumed or actual name of the source file" and "actual line number". It makes reference to 15.11 [cpp.predefined], which introduces the term "presumed". It does not clearly define the term, but it describes how the presumed values can be modified with preprocessor directives. However, there is no definition whatsoever of "actual".

The term should either be defined, or we should strike the "actual" parts of the stacktrace wording. We should consult implementers about this.

I don't have a proposed resolution, but if we want to keep "actual", then perhaps we should define both "presumed" and "actual" in 15.11 [cpp.predefined].

[2021-01-15; Telecon prioritization]

Set priority to 2 following reflector and telecon discussions.

Proposed resolution: