[Bug c++/11108] <iostream> causes transform() to not compile with tolower()

gdr@integrable-solutions.net gcc-bugzilla@gcc.gnu.org
Fri Jun 6 13:40:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11108



------- Additional Comments From gdr@integrable-solutions.net  2003-06-06 13:40 -------
Subject: Re:  New: <iostream> causes transform() to not compile with tolower()

"davidg@flash.net" <gcc-bugzilla@gcc.gnu.org> writes:

| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11108
| 
|            Summary: <iostream> causes transform() to not compile with
|                     tolower()
|            Product: gcc
|            Version: 3.3
|             Status: UNCONFIRMED

The program is not required to work and GCC is NOT in error.

[...]

| string lcase (const string & s)
| {
|     string result = s;
|     transform (result.begin(), result.end(), result.begin(), tolower);

This is a known issue.  See the FAQ and a recent talk of mine and
Benjamin's at the recent ACCU conference.

This PR can be closed as not a defect.

-- Gaby



More information about the Gcc-bugs mailing list