public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* toUpper()
@ 2015-06-30 22:58 papa
  2015-06-30 23:24 ` [Mingw-w64-public] toUpper() Riot
  2015-07-01 10:09 ` toUpper() Jonathan Wakely
  0 siblings, 2 replies; 7+ messages in thread
From: papa @ 2015-06-30 22:58 UTC (permalink / raw)
  To: MinGW-64 Mailinglist, gcc-help Mailing List

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-07-01 18:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-30 22:58 toUpper() papa
2015-06-30 23:24 ` [Mingw-w64-public] toUpper() Riot
2015-07-01  2:01   ` Martin Sebor
2015-07-01 12:02     ` papa
2015-07-01 15:18       ` Martin Sebor
2015-07-01 18:01         ` papa
2015-07-01 10:09 ` toUpper() Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).