Scope of the c++ using directive
- by ThomasMcLeod
From section 7.3.4.2 of the c++11 standard:
A using-directive specifies that the names in the nominated namespace
can be used in the scope in which the using-directive appears after
the using-directive. During unqualified name lookup (3.4.1), the names
appear as if they were declared in the nearest enclosing namespace
which contains…