Topic: FDIS auto_ptr::operator=
Author: bjorn@algonet.se (Bjorn Fahller)
Date: 1998/04/08 Raw View
Is there an auto_ptr<T>::operator=(T*) missing in FDIS? I received an
e-mail message today noting that an implementation of mine of the
auto_ptr from FDIS attempts to modify a temporary in code like this:
auto_ptr<X> px ...
..
px = new X;
_
/Bjorn.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]