Language feature: Nested namespaces

code

Nested namespaces is a tiny feature but i find it very useful.

Before C++17, using multi-level namespaces was irritating both to read and to write.

We could have improve the indentation by having everything in one line, but that looks horrible as well.

Luckily, C++17 now let’s you nest the namespaces (thus the name), make it much, much better

Leave a comment

Your email address will not be published.