tmp/tmpklelae1t/{from.md → to.md}
RENAMED
|
@@ -3,24 +3,25 @@
|
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
template<>
|
| 6 |
class bad_expected_access<void> : public exception {
|
| 7 |
protected:
|
| 8 |
-
bad_expected_access() noexcept;
|
| 9 |
-
bad_expected_access(const bad_expected_access&);
|
| 10 |
-
bad_expected_access(bad_expected_access&&);
|
| 11 |
-
bad_expected_access& operator=(const bad_expected_access&);
|
| 12 |
-
bad_expected_access& operator=(bad_expected_access&&);
|
| 13 |
-
~bad_expected_access();
|
| 14 |
|
| 15 |
public:
|
| 16 |
-
const char* what() const noexcept override;
|
| 17 |
};
|
| 18 |
}
|
| 19 |
```
|
| 20 |
|
| 21 |
``` cpp
|
| 22 |
-
const char* what() const noexcept override;
|
| 23 |
```
|
| 24 |
|
| 25 |
-
*Returns:* An implementation-defined NTBS
|
|
|
|
| 26 |
|
|
|
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
template<>
|
| 6 |
class bad_expected_access<void> : public exception {
|
| 7 |
protected:
|
| 8 |
+
constexpr bad_expected_access() noexcept;
|
| 9 |
+
constexpr bad_expected_access(const bad_expected_access&) noexcept;
|
| 10 |
+
constexpr bad_expected_access(bad_expected_access&&) noexcept;
|
| 11 |
+
constexpr bad_expected_access& operator=(const bad_expected_access&) noexcept;
|
| 12 |
+
constexpr bad_expected_access& operator=(bad_expected_access&&) noexcept;
|
| 13 |
+
constexpr ~bad_expected_access();
|
| 14 |
|
| 15 |
public:
|
| 16 |
+
constexpr const char* what() const noexcept override;
|
| 17 |
};
|
| 18 |
}
|
| 19 |
```
|
| 20 |
|
| 21 |
``` cpp
|
| 22 |
+
constexpr const char* what() const noexcept override;
|
| 23 |
```
|
| 24 |
|
| 25 |
+
*Returns:* An *implementation-defined* NTBS, which during constant
|
| 26 |
+
evaluation is encoded with the ordinary literal encoding [[lex.ccon]].
|
| 27 |
|