// auto_ptr implementation -*- C++ -*-
-// Copyright (C) 2007 Free Software Foundation, Inc.
+// Copyright (C) 2007, 2008 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
* Good examples of what can and cannot be done with auto_ptr can
* be found in the libstdc++ testsuite.
*
- * @if maint
* _GLIBCXX_RESOLVE_LIB_DEFECTS
* 127. auto_ptr<> conversion issues
* These resolutions have all been incorporated.
- * @endif
*/
template<typename _Tp>
class auto_ptr
* deleted. If it no longer owns anything (i.e., @c get() is
* @c NULL), then this has no effect.
*
- * @if maint
* The C++ standard says there is supposed to be an empty throw
* specification here, but omitting it is standard conforming. Its
* presence can be detected only if _Tp::~_Tp() throws, but this is
* prohibited. [17.4.3.6]/2
- * @endif
*/
~auto_ptr() { delete _M_ptr; }