toUpper()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would like to write a function to capitalize letters, say...
std::wstring toUpper(const std::wstring wstr){
for ( auto it = wstr.begin(); it != wstr.end(); ++it){
       global_wapstr.append(std::towupper(&it));

}
}

This doesn’t work, but doesn’t the standard already have something like std::wstring::toUpper(...)?

Thanks in advance

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux