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.
assign to jakub
Fixed 3.2/3.3/3.4. -benjamin