From Jason Turner

[func.wrap.badcall]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpunh27q46/{from.md → to.md} +6 -10
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()` ([[func.wrap.func.inv]]) when the function
5
- wrapper object has no target.
6
 
7
  ``` cpp
8
  namespace std {
9
  class bad_function_call : public exception {
10
  public:
11
- // [func.wrap.badcall.const], constructor
12
- bad_function_call() noexcept;
13
  };
14
  }
15
  ```
16
 
17
- ##### `bad_function_call` constructor <a id="func.wrap.badcall.const">[[func.wrap.badcall.const]]</a>
18
-
19
  ``` cpp
20
- bad_function_call() noexcept;
21
  ```
22
 
23
- *Effects:* Constructs a `bad_function_call` object.
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