tmp/tmpjvxo_p4t/{from.md → to.md}
RENAMED
|
@@ -11,11 +11,12 @@ have the same address. This means that applications using custom
|
|
| 11 |
|
| 12 |
``` cpp
|
| 13 |
namespace std {
|
| 14 |
class error_category {
|
| 15 |
public:
|
| 16 |
-
|
|
|
|
| 17 |
error_category(const error_category&) = delete;
|
| 18 |
error_category& operator=(const error_category&) = delete;
|
| 19 |
virtual const char* name() const noexcept = 0;
|
| 20 |
virtual error_condition default_error_condition(int ev) const noexcept;
|
| 21 |
virtual bool equivalent(int code, const error_condition& condition) const noexcept;
|
|
|
|
| 11 |
|
| 12 |
``` cpp
|
| 13 |
namespace std {
|
| 14 |
class error_category {
|
| 15 |
public:
|
| 16 |
+
constexpr error_category() noexcept;
|
| 17 |
+
virtual ~error_category();
|
| 18 |
error_category(const error_category&) = delete;
|
| 19 |
error_category& operator=(const error_category&) = delete;
|
| 20 |
virtual const char* name() const noexcept = 0;
|
| 21 |
virtual error_condition default_error_condition(int ev) const noexcept;
|
| 22 |
virtual bool equivalent(int code, const error_condition& condition) const noexcept;
|