How do I create a module-local immutable class object?
    Andrej Mitrovic 
    andrej.mitrovich at gmail.com
       
    Sat Sep 10 14:06:44 PDT 2011
    
    
  
On 9/10/11, bearophile <bearophileHUGS at lycos.com> wrote:
> Andrej Mitrovic Wrote:
>
>> Wait a minute, I've just realized private on a class definition has no
>> effect. Why is that?
>
> Try to import that class from another module...
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.
    
    
More information about the Digitalmars-d-learn
mailing list