Bug 11564 - auto_ptr::operator=( const auto_ptr &) does not return a value.
auto_ptr::operator=( const auto_ptr &) does not return a value.
Product: Red Hat Linux
Classification: Retired
Component: libstdc++ (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2000-05-21 18:39 EDT by fwx
Modified: 2007-04-18 12:27 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-01 11:48:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description fwx 2000-05-21 18:39:04 EDT
auto_ptr::operator=( const auto_ptr &) is supposed to return *this, but the
implementation that ships with Red Hat 6.2 does not return any value.  This
is in violation of its own function prototype, so it produces warnings when
used with g++ -Wall.
Comment 1 Cristian Gafton 2000-05-22 10:52:59 EDT
assign to jakub
Comment 2 Benjamin Kosnik 2004-10-01 11:48:36 EDT
Fixed 3.2/3.3/3.4.


Note You need to log in before you can comment on or make changes to this bug.