Discussion Thread: DIP 1037--Add Unary Operator ...--Community Review Round 1

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Sun Nov 1 14:44:26 UTC 2020

On Sunday, 1 November 2020 at 14:35:21 UTC, claptrap wrote:
> Why should they? Why cant a tuple hold aliases? That's 
> essentially what AliasSeq is isnt it?
> I mean you shouldn't have to use arrays at run time and then 
> entitylist at compile time, just because its holding something 
> CT only. An array is an array.

That's a good question, I guess you might hold aliases too now 
that you mention it.

struct { int _0=42; alias _1=T; int length=2 }

I guess you can. Hm.

More information about the Digitalmars-d mailing list