Implicit conversion in constructor
rcorre via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jul 17 19:38:35 PDT 2015
On Saturday, 18 July 2015 at 02:28:09 UTC, tcak wrote:
>
> I even am not sure how in the world it allows implicit
> conversion from class to struct in "fine" at all.
The 'alias this' in the struct permits implicit conversion.
I _think_ that is intended behavior, though I admit I'm not
actually sure now.
I've been taking it for granted for awhile...
More information about the Digitalmars-d-learn
mailing list