How about 'pure' for constants?

guslay guslay at gmail.com
Tue Dec 11 09:30:56 PST 2007


Don Clugston Wrote:

> 
> enum SomeEnormousStruct a = SomeFunction(AnotherEnormousStruct(x, "abc"));
> 

I thought the enum concept (regardless of the keyword) was for compile time strings and primitives. Is it also supposed to work with structs?





More information about the Digitalmars-d mailing list