This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug c++/11108] 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]