Re: <string&g t; to lowercase
"Andre Kostur" <nntpspam@kostu r.net> wrote in message
news:Xns954985E C11153nntpspamk osturnet@207.35 .177.134...[color=blue]
> "Matt Wharton" <noSpam@noSpam. com> wrote in news:1092853381 .442698
> @cswreg.cos.agi lent.com:
>[color=green]
> > You might look at using the 'for_each' algorithm in conjunction with[/color][/color]
the[color=blue][color=green]
> > string's iterators and 'tolower'.[/color]
>
> Wouldn't you want std::transform ?
>[/color]
Yes, quite right; that would be better. My mistake.
-Matt
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.m oderated. First time posters: Do this! ]
"Andre Kostur" <nntpspam@kostu r.net> wrote in message
news:Xns954985E C11153nntpspamk osturnet@207.35 .177.134...[color=blue]
> "Matt Wharton" <noSpam@noSpam. com> wrote in news:1092853381 .442698
> @cswreg.cos.agi lent.com:
>[color=green]
> > You might look at using the 'for_each' algorithm in conjunction with[/color][/color]
the[color=blue][color=green]
> > string's iterators and 'tolower'.[/color]
>
> Wouldn't you want std::transform ?
>[/color]
Yes, quite right; that would be better. My mistake.
-Matt
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.m oderated. First time posters: Do this! ]
Comment