This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12433] Finds wrong overload of std::operator<<
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Sep 2003 17:22:36 -0000
- Subject: [Bug c++/12433] Finds wrong overload of std::operator<<
- References: <20030927205755.12433.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12433
igodard at pacbell dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
------- Additional Comments From igodard at pacbell dot net 2003-09-28 17:22 -------
Aha! I take it that the relevant overload in the library is
ostream& operator<<(ostream&, void*)
which answers my question about how can you distinguish a function pointer from a data pointer. I found a copy of 3rd Edition that lists just that overload.
So to close this:
1) Has any standard more recent than I have found support operator<< for functions?
2) If not, do you have a URL where one can file a language issue for the standards committees?
Ivan