News for hackers. Stuff that matters.
Re:Is the preprocessor still needed in C++? (2017) by tkln on Sunday December 06, 2020 @08:37AM (#25323394)
Care to elaborate on how that's supposed work in practice?
Re:Is the preprocessor still needed in C++? (2017) by scatters on Sunday December 06, 2020 @09:46AM (#25323768)
Wow, ugly, but it works:

    (void) R"long-comment(
    /* C-style comment */
    std::cout << "hello" << std::endl;
    )long-comment";
Re:Is the preprocessor still needed in C++? (2017) by ksherlock on Sunday December 06, 2020 @11:41AM (#25324580)
Ugly, confusing, hard to undo, and only works within a function (since it's a statement).