tmp/tmpy3dwz4k6/{from.md → to.md}
RENAMED
|
@@ -1,16 +1,11 @@
|
|
| 1 |
-
#### reference_wrapper invocation <a id="refwrap.invoke">[[refwrap.invoke]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template <class... ArgTypes>
|
| 5 |
-
|
| 6 |
operator()(ArgTypes&&... args) const;
|
| 7 |
```
|
| 8 |
|
| 9 |
-
*Returns:*
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
`operator()` is described for exposition only. Implementations are not
|
| 13 |
-
required to provide an actual `reference_wrapper::operator()`.
|
| 14 |
-
Implementations are permitted to support `reference_wrapper` function
|
| 15 |
-
invocation through multiple overloaded operators or through other means.
|
| 16 |
|
|
|
|
| 1 |
+
#### `reference_wrapper` invocation <a id="refwrap.invoke">[[refwrap.invoke]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template <class... ArgTypes>
|
| 5 |
+
invoke_result_t<T&, ArgTypes...>
|
| 6 |
operator()(ArgTypes&&... args) const;
|
| 7 |
```
|
| 8 |
|
| 9 |
+
*Returns:* *INVOKE*(get(),
|
| 10 |
+
std::forward\<ArgTypes\>(args)...). ([[func.require]])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|