Pseudo namespaces
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Thu Dec 3 23:00:55 PST 2015
On 12/3/2015 1:05 PM, FreeSlave wrote:
> When talking about namespaces in the C++ sense, the feature of namespace is that
> it can be scattered among many files and can be 'using'.
I call that a bug, not a feature, since one loses all control over overloading
of names and encapsulation.
If you're going to do that, it's better to simply use _ instead of .
namespace_name
instead of:
namespace.name
More information about the Digitalmars-d
mailing list