Topic: nested namespaces and readability of code
Author: bjorn@4roald.org
Date: Tue, 26 Apr 2005 05:22:52 GMT Raw View
Code of the form:
namespace A=20
{
namespace B=20
{
namespace C=20
{
class MyClass
{
...
};
...
}
}
}
is more and more common. To me, it seems like the form:
namespace A::B::C=20
{
class MyClass
{
...
};
...
}
would be a natural and simple extention of the language having the same=20
meaning. Has this been considdered or proposed?=20
--=20
--------
Bj=F8rn Roald
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]