News for hackers. Stuff that matters.
Re:Rundown of the newest features in C++11 [pdf] by bskari on Monday May 27, 2013 @02:51PM (#5775977)
The parentheses are used as delimeters so that you can use quotes in the literal.

  string test = R"(the Star Trek catchphrase "Beam me up, Scotty" did not appear)";
If you want to use quotes in the string, you can add up to 16 chars to the delimiter, but you still have to use the parentheses.

  string test = R"[de=limiter!(the (Star Trek) catchphrase "Beam me up, Scotty" did not appear)[de=limiter!";

There are no comments on this comment yet.