aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@unitus.it>2002-01-10 00:31:57 +0100
committerPaolo Carlini <paolo@gcc.gnu.org>2002-01-09 23:31:57 +0000
commite05cd3dd3a35474a290d91594522cee48f626af6 (patch)
tree20d6b4aa5ed3312f0285071d4c41ffec1fa650c9
parent7d5c66d64300147d84e17bbb34b88d832d6c5a81 (diff)
downloadgcc-e05cd3dd3a35474a290d91594522cee48f626af6.zip
gcc-e05cd3dd3a35474a290d91594522cee48f626af6.tar.gz
gcc-e05cd3dd3a35474a290d91594522cee48f626af6.tar.bz2
exception (bad_exception): Add comment.
2002-01-09 Paolo Carlini <pcarlini@unitus.it> * libsupc++/exception (bad_exception): Add comment. * libsupc++/new (bad_alloc): Same. * libsupc++/typeinfo (bad_cast): Same. (bad_typeid): Same. From-SVN: r48700
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/libsupc++/exception2
-rw-r--r--libstdc++-v3/libsupc++/new2
-rw-r--r--libstdc++-v3/libsupc++/typeinfo4
4 files changed, 14 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index da64dcb..994029d 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,11 @@
2002-01-09 Paolo Carlini <pcarlini@unitus.it>
+ * libsupc++/exception (bad_exception): Add comment.
+ * libsupc++/new (bad_alloc): Same.
+ * libsupc++/typeinfo (bad_cast, bad_typeid): Same.
+
+2002-01-09 Paolo Carlini <pcarlini@unitus.it>
+
libstdc++/3150: revert 2001-11-30 commit. DR266 only means
that the destructors should be removed from the descriptions
in the standard: writing them explicitly allows the vtable
diff --git a/libstdc++-v3/libsupc++/exception b/libstdc++-v3/libsupc++/exception
index aea61ff..4b272d5 100644
--- a/libstdc++-v3/libsupc++/exception
+++ b/libstdc++-v3/libsupc++/exception
@@ -63,6 +63,8 @@ namespace std
{
public:
bad_exception() throw() { }
+ // This declaration is not useless:
+ // http://gcc.gnu.org/onlinedocs/gcc-3.0.2/gcc_6.html#SEC118
virtual ~bad_exception() throw();
};
diff --git a/libstdc++-v3/libsupc++/new b/libstdc++-v3/libsupc++/new
index 358aa1d..da1a36f 100644
--- a/libstdc++-v3/libsupc++/new
+++ b/libstdc++-v3/libsupc++/new
@@ -51,6 +51,8 @@ namespace std
{
public:
bad_alloc() throw() { }
+ // This declaration is not useless:
+ // http://gcc.gnu.org/onlinedocs/gcc-3.0.2/gcc_6.html#SEC118
virtual ~bad_alloc() throw();
};
diff --git a/libstdc++-v3/libsupc++/typeinfo b/libstdc++-v3/libsupc++/typeinfo
index 336fcc0..c36984c 100644
--- a/libstdc++-v3/libsupc++/typeinfo
+++ b/libstdc++-v3/libsupc++/typeinfo
@@ -130,6 +130,8 @@ namespace std
{
public:
bad_cast() throw() { }
+ // This declaration is not useless:
+ // http://gcc.gnu.org/onlinedocs/gcc-3.0.2/gcc_6.html#SEC118
virtual ~bad_cast() throw();
};
@@ -138,6 +140,8 @@ namespace std
{
public:
bad_typeid () throw() { }
+ // This declaration is not useless:
+ // http://gcc.gnu.org/onlinedocs/gcc-3.0.2/gcc_6.html#SEC118
virtual ~bad_typeid() throw();
};
} // namespace std