Hacker News new | ask | show | jobs
by tkln 2018 days ago
Care to elaborate on how that's supposed work in practice?
1 comments

Wow, ugly, but it works:

    (void) R"long-comment(
    /* C-style comment */
    std::cout << "hello" << std::endl;
    )long-comment";
Ugly, confusing, hard to undo, and only works within a function (since it's a statement).