Is typedef an alien?

bearophile bearophileHUGS at lycos.com
Thu Sep 24 12:11:40 PDT 2009


> I'd even like to have Pascal-inspired ranged integral values in D :-)

Once structs in D2 become flexible enough (with methods like opBool that get called by if(x){}, etc) they can be used to define such ranged integer. I think this flexibility improvement is a better strategy.

Bye,
bearophile



More information about the Digitalmars-d mailing list