Commit 5ada5d0f by Mark Mitchell Committed by Mark Mitchell

memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.

	* memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
	(auto_ptr::operator auto_ptr<_Tp1>): Add missing
	semicolon.

From-SVN: r22988
parent 6df47b06
1998-10-11 Mark Mitchell <mark@markmitchell.com>
* memory (auto_ptr::operator auto_ptr_ref<_Tp1>): Fix typo.
(auto_ptr::operator auto_ptr<_Tp1>): Add missing
semicolon.
1998-09-03 Jason Merrill <jason@yorick.cygnus.com>
* stl_config.h: Define __STL_HAS_WCHAR_T,
......
......@@ -90,9 +90,9 @@ public:
auto_ptr(auto_ptr_ref<_Tp> __ref) __STL_NOTHROW
: _M_ptr(__ref._M_ptr) {}
template <class _Tp1> operator auto_ptr_ref<_Tp1>() __STL_NOTHROW
{ return auto_ptr_ref<_Tp>(this.release()); }
{ return auto_ptr_ref<_Tp>(this->release()); }
template <class _Tp1> operator auto_ptr<_Tp1>() __STL_NOTHROW
{ return auto_ptr<_Tp1>(this->release()) }
{ return auto_ptr<_Tp1>(this->release()); }
#endif /* __SGI_STL_USE_AUTO_PTR_CONVERSIONS */
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment