en.cppreference.com/w/cpp/language/translation_phases
1 Users
0 Comments
5 Highlights
0 Notes
Tags
Top Highlights
A sequence of translation character set elements is then formed by mapping each Unicode scalar value to the corresponding translation character set element.
each pair of characters in the input sequence consisting of carriage return (U+000D) followed by line feed (U+000A), as well as each carriage return (U+000D) not immediately followed by a line feed (U+000A), is replaced by a single new-line character.
characters are mapped (in implementation-defined manner) to a sequence of translation character set elements.
If the first translation character is byte order mark (U+FEFF), it is deleted. (since C++23)Whenever backslash appears at the end of a line (immediately followed by zero or more whitespace characters other than new-line followed by (since C++23) the newline character), these characters are deleted, combining two physical source lines into one logical source line.
2) If a non-empty source file does not end with a newline character after this step (whether it had no newline originally, or it ended with a newline immediately preceded by a backslash), a terminating newline character is added.
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.