diff options
| author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-17 07:44:57 +0000 |
|---|---|---|
| committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-17 07:44:57 +0000 |
| commit | 2f454f608f50bae184ca8ac0f0784f50f5182fdb (patch) | |
| tree | 0cde8b75b22945d8c655cf156c6078e3c0c94a40 /libstdc++-v3/include/bits/ios_base.h | |
| parent | 61162f64dd8d889b948d1300602e56beed6bf77e (diff) | |
| download | ppe42-gcc-2f454f608f50bae184ca8ac0f0784f50f5182fdb.tar.gz ppe42-gcc-2f454f608f50bae184ca8ac0f0784f50f5182fdb.zip | |
2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/1605
* include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
* src/ios.cc (ios_base::failure): Make definitions match.
* libsupc++/typeinfo (class bad_typeid): Add throw specs.
(class bad_cast): Same.
* libsupc++/exception (class exception): Add throw specs.
* libsupc++/exception_support.cc (set_terminate): Add throw specs.
(set_unexpected): Same.
(uncaught_exception): Same.
(what): Same.
* docs/html/17_intro/C++STYLE (classname): Fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39087 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/ios_base.h')
| -rw-r--r-- | libstdc++-v3/include/bits/ios_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/ios_base.h b/libstdc++-v3/include/bits/ios_base.h index 6aea0429d7c..2e31863680b 100644 --- a/libstdc++-v3/include/bits/ios_base.h +++ b/libstdc++-v3/include/bits/ios_base.h @@ -146,10 +146,10 @@ namespace std { #ifdef _GLIBCPP_RESOLVE_LIB_DEFECTS // Can't do exception(_msg) as defined in 27.4.2.1.1 explicit - failure(const string& __str); + failure(const string& __str) throw(); virtual - ~failure(); + ~failure() throw(); virtual const char* what() const throw(); |

