Open tahonermann opened 3 years ago
The following CWG issues are relevant with regard to the form of a newline:
Later revisions of P2295 no longer address this.
P2348 - of which an early draft is there https://isocpp.org/files/papers/D2348R0.pdf rewords the handling of whitspaces and new lines without extending the set
The following CWG issues are relevant with regard to the form of a newline:
I hope we can address all of these in P2348
The C++ standard defines behavior that depends on the presence of a new-line, but does not define what characters or character sequences constitute a new-line. Uses of the "newline" and "new-line" terms appear in:
P2178 proposal 2 sought to clarify the set of characters and character sequences that constitute new-lines and proposed the following set. This set was derived from information in UAX #14.
This set matches the guidance in Unicode 13, chapter 5.8, "Newline Guidelines".
When addressing this issue, we should settle on one of either "newline" or "new-line". The Unicode standard uses "newline". ISO 10646 only mentions newline in character names.