Bug w/tuple of custom types?

Steven Schveighoffer schveiguy at yahoo.com
Thu Mar 24 13:26:07 PDT 2011


On Wed, 23 Mar 2011 16:14:55 -0400, bearophile <bearophileHUGS at lycos.com>  
wrote:

> Magnus Lie Hetland:
>
>> Any way to do that without (to be deprecated) typedef?
>
> At the moment with a struct that contains an "alias this", I presume...

And the alias this must point to a getter property to avoid the problem of  
implicitly casting from the base type to the specialized one.

-Steve


More information about the Digitalmars-d-learn mailing list