// Nested Exception support header (nested_exception class) for -*- C++ -*-
-// Copyright (C) 2009, 2010 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010, 2011 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
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
-/** @file nested_exception.h
- * This is an internal header file, included by other headers and the
- * implementation. You should not attempt to use it directly.
+/** @file bits/nested_exception.h
+ * This is an internal header file, included by other library headers.
+ * Do not attempt to use it directly. @headername{exception}
*/
#ifndef _GLIBCXX_NESTED_EXCEPTION_H
nested_exception& operator=(const nested_exception&) = default;
- inline virtual ~nested_exception();
+ virtual ~nested_exception();
void
rethrow_nested() const __attribute__ ((__noreturn__))
{ return _M_ptr; }
};
- inline nested_exception::~nested_exception() = default;
-
template<typename _Except>
struct _Nested_exception : public _Except, public nested_exception
{