Possible @property compromise

TommiT tommitissari at hotmail.com
Thu Jan 31 19:12:26 PST 2013


On Friday, 1 February 2013 at 02:52:42 UTC, Zach the Mystic wrote:
> I need to study this principle a little more. In other words, 
> alias this is a templated parameter in this case? Which page is 
> the documentation for these templated parameters, because I 
> didn't see templates in my code.

No, alias this is basically implicit cast operator that will be 
tried if everything else fails. But writeln is a function 
template, i.e. its parameters/arguments are templated.

http://dlang.org/template.html


More information about the Digitalmars-d mailing list