Name Lookup in C++

Advertisements How many times have you used “std::cout” until now? I bet the answer is “a lot of times”. Did you ever think about how the “cout” ostream object is actually found by the compiler? I mean, of course it is in the “iostream” header file, but how does the compiler find it? Also, what …

Name Lookup in C++ Read More »