I tried the code from this question C++ std::transform() and toupper() ..why does this fail?
#include #include int main()
std::transform(s.begin(), s.end(), s.begin(), std::bind(&std::toupper, std::placeholders::_1, std::locale()));
If you use vc toolchain,please include locale