well namespaces are a good inclusion in c++ to avoid name pollution.
but take this example:
see my class is secure in namespace, but what about the #defined sym used to preventCode:#ifndef MYHEADER #define MYHEADER namespace mynamespace2007 { class myclass { int myint; }; } #endif
multiple inclusion. is it not as likely as a class to make a name conflict? is there a way to avoid
header defines name pollution?