diff options
| author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-15 00:24:08 +0000 |
|---|---|---|
| committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-15 00:24:08 +0000 |
| commit | c3007d7f30f914b1e7bb3e61306bd816288d64e1 (patch) | |
| tree | e5d7d51858cf55279f3ce928eac52925dfcf91d4 /libstdc++-v3/include/std/stdexcept | |
| parent | 22c256182b5614d236081f826bcb24ce25531a0b (diff) | |
| download | ppe42-gcc-c3007d7f30f914b1e7bb3e61306bd816288d64e1.tar.gz ppe42-gcc-c3007d7f30f914b1e7bb3e61306bd816288d64e1.zip | |
2011-03-14 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am: Add functional.cc, shared_ptr.cc.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.am: Add nested_exception.cc.
* libsupc++/Makefile.in: Regenerate.
* src/system_error.cc: Add ctor and dtor definitions for error_category.
* src/functional.cc: New. Add dtor definition for bad_function_call.
* src/stdexcept.cc: Add dtor definitions for domain_error,
invalid_argument, length_error, out_of_range, range_error,
overflow_error, underflow_error.
* src/future.cc: Add dtor definition for __future_base::_Result_base.
* src/shared_ptr.cc: New. Add dtor definition for bad_weak_ptr.
* src/thread.cc: Add dtor for thread::_Impl_base.
* include/std/system_error: Adjust.
* include/std/stdexcept: Same.
* include/std/future: Same.
* include/std/functional: Same.
* include/std/thread: Same.
* include/bits/shared_ptr_base.h: Same.
* libsupc++/nested_exception.cc: New. Add dtor for nested_exception.
* libsupc++/nested_exception.h: Adjust.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Same.
* config/abi/pre/gnu.ver: Add new exports.
* include/bits/regex_compiler.h: Nest namespace versioning.
* include/bits/regex_grep_matcher.tcc: Same.
* include/bits/regex_grep_matcher.h: Same.
* include/bits/regex_cursor.h: Same.
* include/bits/regex_nfa.h: Same.
* include/bits/regex_nfa.tcc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170975 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/stdexcept')
| -rw-r--r-- | libstdc++-v3/include/std/stdexcept | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/libstdc++-v3/include/std/stdexcept b/libstdc++-v3/include/std/stdexcept index de023d12bb8..a461795d7ec 100644 --- a/libstdc++-v3/include/std/stdexcept +++ b/libstdc++-v3/include/std/stdexcept @@ -1,6 +1,6 @@ // Standard exception classes -*- C++ -*- -// Copyright (C) 2001, 2002, 2005, 2007, 2009, 2010 +// Copyright (C) 2001, 2002, 2005, 2007, 2009, 2010, 2011 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -62,8 +62,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION explicit logic_error(const string& __arg); - virtual - ~logic_error() throw(); + virtual ~logic_error() throw(); /** Returns a C-style character string describing the general cause of * the current error (the same string passed to the ctor). */ @@ -77,6 +76,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { public: explicit domain_error(const string& __arg); + virtual ~domain_error() throw(); }; /** Thrown to report invalid arguments to functions. */ @@ -84,6 +84,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { public: explicit invalid_argument(const string& __arg); + virtual ~invalid_argument() throw(); }; /** Thrown when an object is constructed that would exceed its maximum @@ -92,6 +93,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { public: explicit length_error(const string& __arg); + virtual ~length_error() throw(); }; /** This represents an argument whose value is not within the expected @@ -100,6 +102,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { public: explicit out_of_range(const string& __arg); + virtual ~out_of_range() throw(); }; /** Runtime errors represent problems outside the scope of a program; @@ -116,8 +119,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION explicit runtime_error(const string& __arg); - virtual - ~runtime_error() throw(); + virtual ~runtime_error() throw(); /** Returns a C-style character string describing the general cause of * the current error (the same string passed to the ctor). */ @@ -130,6 +132,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { public: explicit range_error(const string& __arg); + virtual ~range_error() throw(); }; /** Thrown to indicate arithmetic overflow. */ @@ -137,6 +140,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { public: explicit overflow_error(const string& __arg); + virtual ~overflow_error() throw(); }; /** Thrown to indicate arithmetic underflow. */ @@ -144,6 +148,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { public: explicit underflow_error(const string& __arg); + virtual ~underflow_error() throw(); }; // @} group exceptions |

