Class Name Conflicts....?
so here's a classic.... i've got a mathematics library, and its got a class called 'Point3d' and it represents a point in 3d space, and i have other code in the library that depends on it, for instance, Vertex3d etc.
so i get my mate to write a library that does some other 3dish type things... and he's got a class called 'Point3d' that is different from mine.... and it's in his namespace 'davelib'.
now, i write a piece of code that needs to use BOTH Point3d classes, one from my library and own from davelib... BUT we end up with compilation errors, 'Point3d is ambiguous', which it obviously is...
so the question is: is there a way to resolve this someway without renaming the classes in one of the libraries...? or are we in for a real pain in the ........?
thanks in advance