First of all, note that you should never use using namespace in the header - you may already know about this. The reason is that it will result in using in any source files that include it.
Even at the source file level, I prefer to explicitly qualify the standard library functions and classes liek std::cout . However, in some cases, I will use the specific use instead for convenience (e.g. using std:endl ). However, I prefer only explicit qualifications.
source share