Is using nested namespaces bad?

I was wondering is using nested namespaces to organize the classes in my library is good programming practice?

I was wanted to organize the classes like packages in Java.

Thanks in advance!
---- Joseph Foster ----
I was wondering is using nested namespaces to organize the classes in my library is good programming practice?
Yes, namespaces are designed for this. Additionally you can use the same namespace in different [header] files.
Thanks! You just made my code so much cleaner!
Actually I should have mention that the same namespace may appear more than once regardless in what file.
The C++ Standard Library has multiple files that contain stuff within namespace std.

It also has std::chrono:
http://www.cplusplus.com/reference/chrono/
That is a nested namespace, isn't it?
That is a library.
Does the C++ Standard Library follow good "programming practices"?

I rest my case.
Topic archived. No new replies allowed.