Skip to content

[cpp.pre] Footnote makes unsupported claim that preprocessing directives are commonly called "lines" #8934

@zygoloid

Description

@zygoloid

[cpp.pre]/2 contains this footnote:

  1. Thus, preprocessing directives are commonly called “lines”. These “lines” have no other syntactic significance, as all whitespace is equivalent except in certain situations during preprocessing (see the # character string literal creation operator in [cpp.stringize], for example).

I can find no evidence to refute the claim that this footnote is the only place in all of human history that the term "lines" has been used to refer specifically to preprocessing directives. I dispute that this is "common".

Also, all of raw string literals, escaped newlines, and newlines within /*...*/ comments allow preprocessing directives to span what would be "commonly called" multiple lines. Is this footnote really adding value?

Metadata

Metadata

Assignees

Labels

P3-OtherTriaged issue not in P1 or P2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions