J
Jaco Naude
Hi
I'm using a top level namespace for a project. The project has a few
libraries which each have their own namespace. Each library has some
constants and interfaces defined under seperate namespaces as well.
For examples, for two different libraries the following namespaces are
present
ProjectNamespace::Library1
ProjectNamespace::Library1::Constants
ProjectNamespace::Library1::Interfaces
ProjectNamespace::Library2
ProjectNamespace::Library2::Constants
ProjectNamespace::Library2::Interfaces
I'm looking for for a way to include all the namespaces in a library
in one go, thus rather than adding the following:
using namespace ProjectNamespace::Library1;
using namespace ProjectNamespace::Library1::Constants;
using namespace ProjectNamespace::Library1::Interfaces;
I want to do the above in one line. Is that possible?
Any help would be appreciated.
Thanks,
Jaco
I'm using a top level namespace for a project. The project has a few
libraries which each have their own namespace. Each library has some
constants and interfaces defined under seperate namespaces as well.
For examples, for two different libraries the following namespaces are
present
ProjectNamespace::Library1
ProjectNamespace::Library1::Constants
ProjectNamespace::Library1::Interfaces
ProjectNamespace::Library2
ProjectNamespace::Library2::Constants
ProjectNamespace::Library2::Interfaces
I'm looking for for a way to include all the namespaces in a library
in one go, thus rather than adding the following:
using namespace ProjectNamespace::Library1;
using namespace ProjectNamespace::Library1::Constants;
using namespace ProjectNamespace::Library1::Interfaces;
I want to do the above in one line. Is that possible?
Any help would be appreciated.
Thanks,
Jaco