getChar() vs. getChar!true()

cal callumenator at gmail.com
Wed Mar 20 13:24:23 PDT 2013


On Wednesday, 20 March 2013 at 20:11:47 UTC, Peter Sommerfeld 
wrote:
> In std.json is a function getchar() with this signature:
>
> dchar getChar(bool SkipWhitespace = false);

It looks like the signature (line 115) is:
dchar getChar(bool SkipWhitespace = false)()

Note the extra set of parens at the end, making the bool a 
template parameter.


More information about the Digitalmars-d-learn mailing list