Avoid using directives in header files

It is often that I see people using namespace directives in header files. This is a bad practice maybe not enought explained, so I will try to clarify why one should always avoid this. When you are using a using directive (such as using namespace std) or using declarations (such as using std::cout) you are…