I have
using namespace std; vector<char> tmp; tmp.push_back(val); ...
Now when i try
transform(tmp.begin(), tmp.end(), tmp.begin(), std::tolower);
It does not compile, but it compiles:
transform(tmp.begin(), tmp.end(), tmp.begin(), ::tolower);
What is the problem with std::tolower ? It works with one argument, for example, std::tolower(56) compilation. Thanks!
source share