diff options
Diffstat (limited to 'libstdc++-v3/include/backward/auto_ptr.h')
-rw-r--r-- | libstdc++-v3/include/backward/auto_ptr.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libstdc++-v3/include/backward/auto_ptr.h b/libstdc++-v3/include/backward/auto_ptr.h index 89580745090..0373b59c20f 100644 --- a/libstdc++-v3/include/backward/auto_ptr.h +++ b/libstdc++-v3/include/backward/auto_ptr.h @@ -1,6 +1,6 @@ // 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 @@ -82,11 +82,9 @@ _GLIBCXX_BEGIN_NAMESPACE(std) * 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 @@ -167,12 +165,10 @@ _GLIBCXX_BEGIN_NAMESPACE(std) * 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; } |