How do I create a module-local immutable class object?

bearophile bearophileHUGS at lycos.com
Sat Sep 10 02:20:51 PDT 2011


> Try to import that class from another module...

I fear this is a D design mistake/corner case. If you add tags to a class/struct definition it usually gets applied to all its methods, but here it works on the class/struct name itself.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list