Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-10-08 05:11:53

0001 #include <algorithm>
0002 #include <string>
0003 #include <cctype>
0004 
0005 using namespace std;
0006 
0007 /** A simple C++ replacement for C's strupper */
0008 string upcaseString(std::string aString) {
0009   transform(aString.begin(), aString.end(), aString.begin(), (int (*)(int))toupper);
0010   return aString;
0011 }