[Bug libstdc++/24818] New: tr1::reference_wrapper improperly calls nullary function objects
doug dot gregor at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Nov 12 13:28:00 GMT 2005
tr1::reference_wrapper<T>::operator()() should not dereference get() before
calling the function object, because get() returns a reference (not a pointer).
--
Summary: tr1::reference_wrapper improperly calls nullary function
objects
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: doug dot gregor at gmail dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24818
More information about the Gcc-bugs
mailing list