tmp/tmph_gw76dy/{from.md → to.md}
RENAMED
|
@@ -1,16 +1,13 @@
|
|
| 1 |
##### `function` invocation <a id="func.wrap.func.inv">[[func.wrap.func.inv]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
R operator()(ArgTypes... args) const
|
| 5 |
```
|
| 6 |
|
| 7 |
-
*
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
*Returns:* Nothing if `R` is `void`, otherwise the return value of
|
| 12 |
-
*`INVOKE`*`(f, std::forward<ArgTypes>(args)..., R)`.
|
| 13 |
|
| 14 |
*Throws:* `bad_function_call` if `!*this`; otherwise, any exception
|
| 15 |
thrown by the wrapped callable object.
|
| 16 |
|
|
|
|
| 1 |
##### `function` invocation <a id="func.wrap.func.inv">[[func.wrap.func.inv]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
R operator()(ArgTypes... args) const;
|
| 5 |
```
|
| 6 |
|
| 7 |
+
*Returns:* *INVOKE*\<R\>(f,
|
| 8 |
+
std::forward\<ArgTypes\>(args)...) ([[func.require]]), where `f` is the
|
| 9 |
+
target object ([[func.def]]) of `*this`.
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
*Throws:* `bad_function_call` if `!*this`; otherwise, any exception
|
| 12 |
thrown by the wrapped callable object.
|
| 13 |
|