[Cpp primer] Namespace using Declarations

If we want to use cin in the standard library, we need to

std::cin

 To simplify this work, we can do like this

using namespace::name;

  

* Headers should not include using Declarations

Why?

The reason is that the contents of a header are copied into the including program's text. It's likely to encounter unexpected name conflicts.

原文地址:https://www.cnblogs.com/KennyRom/p/6421672.html