digitalmars.D - private and public precedence rules
- Sjoerd van Leent (25/25) Oct 18 2004 Here are some examples which give food for thought:
Here are some examples which give food for thought: import <somemodule> gives somemodule public access private { import <somemodule> } gives somemodule private access public { import <somemodule> } leaves somemodule with public access private { public { import <somemodule> } } What does this do, does it make somemodule private or not? public { private { import <somemodule> } } And this, stays somemodule private? Regards, Sjoerd
Oct 18 2004