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

bearophile bearophileHUGS at lycos.com
Sat Sep 10 15:45:02 PDT 2011


Andrej Mitrovic:

> It doesn't stop imports, that's what I'm saying. I can import and
> instantiate the class from another module even though it's a private
> class definition.

I didn't know it. If it's all like you say, then it's a bug.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list