Student
class
is defined in student.h.
Student
class
is defined in student.h.
auto_ptr
in autostring.h and a demo
program in tautostring.C (p135).
Note that the definition of auto_ptr
is
included in autoptr.h. The
<memory>
version for g++ 2.95.2 does not
work, apparently because
is missing. See also
Josuttis
(and his
implementation) on this.
auto_ptr<T>& auto_ptr<T>::operator=(auto_ptr_ref<T> a) throw() {
reset(a.ptr);
return *this;
}