template this parameters for constructors

Timon Gehr timon.gehr at gmx.ch
Wed Feb 20 07:29:21 PST 2013


On 02/20/2013 03:37 PM, Gor Gyolchanyan wrote:
> ...
>
> Is there any change of this being fixed any time soon?
> ...

According to the online documentation it seems like it should work:

http://dlang.org/template.html#TemplateThisParameter states:

"TemplateThisParameters are used in member function templates to pick up 
the type of the this reference."

http://dlang.org/class.html states:

Classes consist of:
     ...
     * member functions
         ...
         * Constructors

I guess just post it to bugzilla.


More information about the Digitalmars-d mailing list