I have Visual Studio 2005. One of my header files has an enumeration of type
typedef enum {scalar, array, set} increment;
When I try to include the header file, I get an ambiguity error for "set". I am using std :: set in this cpp file. The problem is that the compiler cannot distinguish between std :: set and the set in the enumeration.
Any suggestions for resolving this ambiguity without declaring any new namespace
source
share