Compile-time class instances
bearophile
bearophileHUGS at lycos.com
Sun Apr 4 10:41:09 PDT 2010
> Such loading of already initialized class instances is commonly done in games written in C++,
Many things in D are designed starting from a widespread C++ idiom, where it's often implemented in a more or less manual way, and changing it into a explicit D construct, that is semantically clean and possibly safer. So compile-time class instances can be another example of such kind of idiom conversion.
Bye,
bearophile
More information about the Digitalmars-d
mailing list