In shown situation, the 'using namespace' directive generates an error that seems to be unexpected:namespace NamespaceA{ namespace NamespaceB { }}auto a = []() { using namespace NamespaceA::NamespaceB; };The error is reported at 'using namespace' line:error C2751: 'NamespaceA::NamespaceB' : the name of a function parameter cannot be qualified.No error occurs if the 'a' variable is moved to a function.
Visual Studio/Silverlight/Tooling version
What category (if any) best represents this feedback?
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results