N
Nikola
Is it possible in C++ to create a class hierarchy by inheritance that
spans across various namespaces?
For example, say I want to create a class which would behave like object
type in C#, so that all classes I have would be below it in inheritance
hierarchy, but my classes are scattered throughout various namespaces.
Say I have 2 classes in namespace A and 2 in namespace B, where
namespace A and namespace B are not related, and now I want to create
class C so that all classes in namespace A and namespace B inherit from C.
Is that possible and how is it done?
Thanks,
Nikola
spans across various namespaces?
For example, say I want to create a class which would behave like object
type in C#, so that all classes I have would be below it in inheritance
hierarchy, but my classes are scattered throughout various namespaces.
Say I have 2 classes in namespace A and 2 in namespace B, where
namespace A and namespace B are not related, and now I want to create
class C so that all classes in namespace A and namespace B inherit from C.
Is that possible and how is it done?
Thanks,
Nikola