getChar() vs. getChar!true()

Peter Sommerfeld noreply at rubrica.at
Wed Mar 20 13:29:31 PDT 2013


cal wrote:

> 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.

Thanks, I must look more carefully...

Peter


More information about the Digitalmars-d-learn mailing list