axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sanjaya singharage" <>
Subject Resolving class name conflicts (for Axis c++ 1.2)
Date Wed, 21 Apr 2004 10:05:28 GMT
What would be the best mechanism to resolve class name conflicts in the next Axis c++ release

Two things are possible

1. Use namespaces for Axis c++ classes

-In this case even if Axis c++ uses some third party libraries that has classes with the same
class names as Axis c++, that can be resolved
-When a client application uses Axis c++ and some other libraries, class name conflicts between
those libraries and axis c++ can be resolved.
-This is a feature that was intended to address such conflicts in c++

2. Use some prefix for class names and hope that will be unique enough.

-If by some chance Axis c++ encounters a class with the same class name, with prefix and all,
all the class names will need to have their prefix changed.

What are other plus or minus points for these two items? Is there any other approach that
we can follow?


View raw message