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
This commit is contained in:
Paolo Carlini 2002-01-10 00:31:57 +01:00 committed by Paolo Carlini
parent 7d5c66d643
commit e05cd3dd3a
4 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -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();
};

View File

@ -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();
};

View File

@ -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