Why no implicit cast operators?
Ali Çehreli
acehreli at yahoo.com
Mon Aug 6 10:52:04 PDT 2012
On 08/06/2012 08:08 AM, Artur Skawina wrote:
> There's sort-of limited support for implicit-casts - 'alias this'
> with a getter. That does not force exposure of the internal
> representation, but has other problems. The main one is of course
> that there can only be one 'alias this'.
Luckily, it's just a lack of implementation:
http://d.puremagic.com/issues/show_bug.cgi?id=6083
Ali
More information about the Digitalmars-d
mailing list