I have run into a few circumstances in C++ 11 where it seems like the "std" namespace is optional. For example, the std::find_if() function. This will compile with and without the "std::" namespace qualifier.
I had initially thought that I might have a "using namespace std" somewhere, but if I write "string myString;" it will fail to compile. By changing it to "std::string myString", it will work.
So can anybody explain what is going on here? Are the namespace rules different somehow for find_if vs string?