How to call opCall as template?

Namespace rswhite4 at googlemail.com
Thu Jan 30 13:33:08 PST 2014


> I think for your example, the first case works fine using
> deduction.

Sure but this is not always possible. ;)

It seems that the problem occurs also with opIndex and so 
probably with all op* methods. See:
http://forum.dlang.org/thread/bug-12043-3@https.d.puremagic.com%2Fissues%2F#post-lcegar:241ld2:241:40digitalmars.com


More information about the Digitalmars-d-learn mailing list