#include <iostream> namespace X { int k = 8; } int main() { using namespace X; int k = 0; std::cout << k; return 0; }
I'm struggling to understand the difference between qualified and unqualified searches and how they deal with using namespaces; phrases
I would like to clarify now? Does k invoke the correct search here?
source share