enum and tuples

captaindet 2krnk at gmx.net
Sun Aug 11 17:44:52 PDT 2013


On 2013-08-11 01:59, Jonathan M Davis wrote:
> seems to work, so I'd have expected the TypeTuple to work. I expect that it's
> a compiler bug. And yes, TypeTuples should definitely be assignable to enums
> (though where you can use such an enum depends on where you can use a
> TypeTuple - the enum's value is essentially copy-pasted wherever the enum is
> used). I think that things are far more confusing for you due to compiler
> bugs.

thanks jonathan. yours and ali's explanations have been very helpful to understand what is going on. i filed a bug report:

http://d.puremagic.com/issues/show_bug.cgi?id=10803

/det


More information about the Digitalmars-d-learn mailing list