Hi Guys,
when I'm reading some c++ sample code for beginner , I'm puzzled at the usage of toupper in the following line :
std::transform(data.begin(), data.end(), data.begin(), ::toupper);
from the above line, I know that "transform" is from namespace std , but I don't know which namespace does toupper come from . maybe there is a default namespace for c++ but that is just my guess. so could you explain the usage of toupper here to me ?