- C++ preprocessor and multi-line string literals - 5 Updates
- C++ variable names - 9 Updates
- Cloud cuckoo land? - 2 Updates
Thursday, January 16, 2020
Digest for comp.lang.c++@googlegroups.com - 16 updates in 3 topics
- C++ preprocessor and multi-line string literals - 5 Updates
- C++ variable names - 9 Updates
- Cloud cuckoo land? - 2 Updates
Paavo Helde <myfirstname@osa.pri.ee>: Jan 16 05:37PM +0200 In C++ there is a preprocessor step which logically comes first and prepares the preprocessed source consisting of remaining tokens. However, preprocessor is line-based, so it ought to conflict with the multi-line string literals: #include <iostream> #if 1 int main() { const char* test = R"__( #else )__"; std::cout << test; }
Subscribe to:
Post Comments (Atom)
|
No comments:
Post a Comment