Long/compound namespaces when using C++/CLI
- by biozinc
I'm working on a project where a mixture of C# (95%) and C++/CLI (5%) are used.
The namespace naming convention I'm aiming for is the good old Company.Technology.Etc.. This works perfectly fine for C#. Now, can I carry this across to C++ classes? I read here that compound namespaces aren't supported in C++.
Am I stuck with the clumsy
namespace Company {
namespace Technology {
namespace Etc {
...
}
}
}
in order to stay consistent?
Is it worth trying to stay consistent?