This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24054] New: std::tr1::unordered_map's erase does not seem to return a value
- From: "atavory at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2005 11:43:24 -0000
- Subject: [Bug c++/24054] New: std::tr1::unordered_map's erase does not seem to return a value
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
/usr/include/c++/4.0.0/tr1/hashtable lines 1345-1365 is a hash-table's erase
method declared to return a size_type. The method does not seem to return any
value, though; g++ warns about this when I try to use std::tr1::unordered_map's
erase.
g++ --version outputs: g++ (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8)
Thanks!
--
Summary: std::tr1::unordered_map's erase does not seem to return
a value
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: atavory at gmail dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24054