Mixin template parameters / mixin template literals

Tove tove at fransson.se
Wed Apr 24 10:38:33 PDT 2013


On Wednesday, 24 April 2013 at 02:18:07 UTC, Luís Marques wrote:
> Consider:
>
>     sort!("a > b")(array);
>

how about?
sort!(q{a > b})(array);

http://dlang.org/lex.html#TokenString


More information about the Digitalmars-d mailing list