Bug 11564

Summary: auto_ptr::operator=( const auto_ptr &) does not return a value.
Product: [Retired] Red Hat Linux Reporter: fwx
Component: libstdc++Assignee: Jakub Jelinek <jakub>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-01 15:48:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description fwx 2000-05-21 22:39:04 UTC
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 14:52:59 UTC
assign to jakub

Comment 2 Benjamin Kosnik 2004-10-01 15:48:36 UTC
Fixed 3.2/3.3/3.4.

-benjamin