uniform initialization in D (as in C++11): i{...}

Alex Parrill via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 5 05:34:35 PDT 2016


On Tuesday, 5 April 2016 at 05:39:25 UTC, Timothee Cour wrote:
> q{...} // comment (existing syntax)

That is syntax for a string literal, not a comment (though unlike 
other string literals, the contents must be valid D tokens and 
editors usually do not highlight them as strings).



More information about the Digitalmars-d mailing list