[Bug c++/12433] Finds wrong overload of std::operator<<

igodard at pacbell dot net gcc-bugzilla@gcc.gnu.org
Sun Sep 28 18:50: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=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



More information about the Gcc-bugs mailing list