auto_ptr<> issue . . .

auto_ptr<> issue . . .

icc 7.1 running on RH8.0 is producing the following error:

error: no operator "=" matches these operands
operand types are: std::auto_ptr = std::auto_ptr
_myTime = _myTimeFactory.makeInitial();

This code will compile under gcc and appears to be "correct". Any ideas?

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Please refer to this posting -


Message Edited by on 12-09-2005 09:56 AM

Leave a Comment

Please sign in to add a comment. Not a member? Join today