tmp/tmpunh27q46/{from.md → to.md}
RENAMED
|
@@ -1,26 +1,22 @@
|
|
| 1 |
#### Class `bad_function_call` <a id="func.wrap.badcall">[[func.wrap.badcall]]</a>
|
| 2 |
|
| 3 |
An exception of type `bad_function_call` is thrown by
|
| 4 |
-
`function::operator()`
|
| 5 |
-
|
| 6 |
|
| 7 |
``` cpp
|
| 8 |
namespace std {
|
| 9 |
class bad_function_call : public exception {
|
| 10 |
public:
|
| 11 |
-
// [
|
| 12 |
-
|
| 13 |
};
|
| 14 |
}
|
| 15 |
```
|
| 16 |
|
| 17 |
-
##### `bad_function_call` constructor <a id="func.wrap.badcall.const">[[func.wrap.badcall.const]]</a>
|
| 18 |
-
|
| 19 |
``` cpp
|
| 20 |
-
|
| 21 |
```
|
| 22 |
|
| 23 |
-
*
|
| 24 |
-
|
| 25 |
-
*Postconditions:* `what()` returns an *implementation-defined* NTBS.
|
| 26 |
|
|
|
|
| 1 |
#### Class `bad_function_call` <a id="func.wrap.badcall">[[func.wrap.badcall]]</a>
|
| 2 |
|
| 3 |
An exception of type `bad_function_call` is thrown by
|
| 4 |
+
`function::operator()` [[func.wrap.func.inv]] when the function wrapper
|
| 5 |
+
object has no target.
|
| 6 |
|
| 7 |
``` cpp
|
| 8 |
namespace std {
|
| 9 |
class bad_function_call : public exception {
|
| 10 |
public:
|
| 11 |
+
// see [exception] for the specification of the special member functions
|
| 12 |
+
const char* what() const noexcept override;
|
| 13 |
};
|
| 14 |
}
|
| 15 |
```
|
| 16 |
|
|
|
|
|
|
|
| 17 |
``` cpp
|
| 18 |
+
const char* what() const noexcept override;
|
| 19 |
```
|
| 20 |
|
| 21 |
+
*Returns:* An *implementation-defined* NTBS.
|
|
|
|
|
|
|
| 22 |
|