June 20, 2004 Should this work? | ||||
---|---|---|---|---|
| ||||
struct Foo { alias int StructType; } Foo.StructType a; // OK Foo b; typeof(b).StructType c; // Not ok |
June 21, 2004 Re: Should this work? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Patrick Down | Yes, it should work. "Patrick Down" <pat@codemoon.com> wrote in message news:Xns950EA5752C54Dpatcodemooncom@63.105.9.61... > > struct Foo > { > alias int StructType; > } > > Foo.StructType a; // OK > > Foo b; > > typeof(b).StructType c; // Not ok > |
Copyright © 1999-2021 by the D Language Foundation