wrote in news:1111242480.908558.86670
@o13g2000cwo.googlegroups.com:
> Why is that ron
>
> If the classes are in different headers and no other translation unit
> includes both headersI would assume it would ok to do so.
However, from a C++ point of view, when you end up dynamically loading both
DLLs into your program, you are effectively linking the two translation
units together. At that point you have a name collision.
This one aspect of things that namespaces solve. If they were in different
namespaces, the decorated name would be different (somehow... it's up to
the compiler/linker to figure it out).