Y
Hacker News
new
|
ask
|
show
|
jobs
by
scatters
2018 days ago
Wow, ugly, but it works:
(void) R"long-comment( /* C-style comment */ std::cout << "hello" << std::endl; )long-comment";
1 comments
ksherlock
2018 days ago
Ugly, confusing, hard to undo, and only works within a function (since it's a statement).
link