struct : implicit conversion for function call arguments

d coder dlang.coder at gmail.com
Tue Jan 1 11:07:32 PST 2013


> That's not how you define implicit conversions in D. It's a weird hack
> from C++.
>
>
Thanks for clarification. I knew about alias this, but I thought it was in
addition to constructor path.

Regards
- Puneet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130102/c97abb24/attachment.html>


More information about the Digitalmars-d mailing list