Like I said in the original post, all compiles cleanly if the insert(...) line is commented out. That means to me that all the other types, variables, etc are properly defined and available, correct?
Type: Posts; User: dbeyer
Like I said in the original post, all compiles cleanly if the insert(...) line is commented out. That means to me that all the other types, variables, etc are properly defined and available, correct?
Can you tell me why it's bad practice? Do your cautions apply even with a header guard in place?
A "using namespace std;" declaration was in an included header file.
Can you tell me why the "netDefaults.insert(...)" line causes the C++ compilation errors shown below? I'm using Visual Studio 2003. The code shown below is enclosed in an anonymous namespace to...