This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/18808] iostream include makes algorithm/transform broken
- From: "kgardas at objectsecurity dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Dec 2004 12:15:47 -0000
- Subject: [Bug libstdc++/18808] iostream include makes algorithm/transform broken
- References: <20041203121235.18808.kgardas@objectsecurity.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kgardas at objectsecurity dot com 2004-12-03 12:15 -------
GCC 4.0.0 20041126 also complains about this code:
$ /mnt/karel/gcc-main-20041126/bin/c++ str.cc
str.cc: In function 'int main()':
str.cc:12: error: no matching function for call to
'transform(__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >, <unknown type>)'
$
Cheers,
Karel
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18808