mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-10-04 13:41:02 +00:00
Release Cosmopolitan v3.6.0
This release is an atomic upgrade to GCC 14.1.0 with C23 and C++23
This commit is contained in:
parent
62ace3623a
commit
5660ec4741
1585 changed files with 117353 additions and 271644 deletions
9
third_party/libcxx/__exception/exception.h
vendored
9
third_party/libcxx/__exception/exception.h
vendored
|
@ -69,18 +69,21 @@ public:
|
|||
// On all other platforms, we define our own std::exception and std::bad_exception types
|
||||
// regardless of whether exceptions are turned on as a language feature.
|
||||
|
||||
class _LIBCPP_EXCEPTION_ABI exception {
|
||||
class _LIBCPP_EXPORTED_FROM_ABI exception {
|
||||
public:
|
||||
_LIBCPP_HIDE_FROM_ABI exception() _NOEXCEPT {}
|
||||
_LIBCPP_HIDE_FROM_ABI exception(const exception&) _NOEXCEPT = default;
|
||||
_LIBCPP_HIDE_FROM_ABI exception(const exception&) _NOEXCEPT = default;
|
||||
_LIBCPP_HIDE_FROM_ABI exception& operator=(const exception&) _NOEXCEPT = default;
|
||||
|
||||
virtual ~exception() _NOEXCEPT;
|
||||
virtual const char* what() const _NOEXCEPT;
|
||||
};
|
||||
|
||||
class _LIBCPP_EXCEPTION_ABI bad_exception : public exception {
|
||||
class _LIBCPP_EXPORTED_FROM_ABI bad_exception : public exception {
|
||||
public:
|
||||
_LIBCPP_HIDE_FROM_ABI bad_exception() _NOEXCEPT {}
|
||||
_LIBCPP_HIDE_FROM_ABI bad_exception(const bad_exception&) _NOEXCEPT = default;
|
||||
_LIBCPP_HIDE_FROM_ABI bad_exception& operator=(const bad_exception&) _NOEXCEPT = default;
|
||||
~bad_exception() _NOEXCEPT override;
|
||||
const char* what() const _NOEXCEPT override;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue