top | item 25323145 (no title) eugene3306 | 5 years ago > How can we replace nested comments?you may use multiline string literals discuss order hn newest tkln|5 years ago Care to elaborate on how that's supposed work in practice? scatters|5 years ago Wow, ugly, but it works: (void) R"long-comment( /* C-style comment */ std::cout << "hello" << std::endl; )long-comment"; load replies (1)
tkln|5 years ago Care to elaborate on how that's supposed work in practice? scatters|5 years ago Wow, ugly, but it works: (void) R"long-comment( /* C-style comment */ std::cout << "hello" << std::endl; )long-comment"; load replies (1)
scatters|5 years ago Wow, ugly, but it works: (void) R"long-comment( /* C-style comment */ std::cout << "hello" << std::endl; )long-comment"; load replies (1)
tkln|5 years ago
scatters|5 years ago