DEFECT_NO_STDLIB_NAMESPACES
Systems: all
Compilers: GNU C++ 2.7, SGI MipsPro 7.1nx
Standard C++ puts most items in the Standard C++ library into the "std::" namespace and a few items into the "relops::" namespace. There is still some controversy over whether the Standard C library should be in the global namespace or the "std::" namespace.
// To use some items in the std:: namespace declared in <iostream>
#if defined(DEFECT_NO_STDLIB_NAMESPACES)
// Do Nothing
#else // Standard C++
using std::cerr ;
using std::cout ;
using std::dec ;
using std::hex ;
#endif