Applied noexcept to everything in [language.support] (Chapter 18)

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@132129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant
2011-05-26 18:23:59 +00:00
parent 4b7a43da34
commit ed56921d6e
8 changed files with 271 additions and 264 deletions

View File

@@ -13,30 +13,30 @@
#include "typeinfo"
std::bad_cast::bad_cast() throw()
std::bad_cast::bad_cast() _NOEXCEPT
{
}
std::bad_cast::~bad_cast() throw()
std::bad_cast::~bad_cast() _NOEXCEPT
{
}
const char*
std::bad_cast::what() const throw()
std::bad_cast::what() const _NOEXCEPT
{
return "std::bad_cast";
}
std::bad_typeid::bad_typeid() throw()
std::bad_typeid::bad_typeid() _NOEXCEPT
{
}
std::bad_typeid::~bad_typeid() throw()
std::bad_typeid::~bad_typeid() _NOEXCEPT
{
}
const char*
std::bad_typeid::what() const throw()
std::bad_typeid::what() const _NOEXCEPT
{
return "std::bad_typeid";
}