enum of tuples

bearophile bearophileHUGS at lycos.com
Wed Sep 26 14:24:08 PDT 2012


Van de Bugger:

> Oops. What the problem?

I seems one or more bugs. D named enums are adapted from the C 
language, they were first of all meant to contain simple values 
like ints or chars. The more complex things you keep trying to 
put in them, the more bugs you will find :-) People in D.learn 
keep trying to put complex things in them, but maybe Walter has 
not even tested them with more complex types, like class 
instances.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list