tmp/tmpc8qiwrqq/{from.md → to.md}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
### Function template `invoke` <a id="func.invoke">[[func.invoke]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class F, class... Args>
|
| 5 |
-
invoke_result_t<F, Args...> invoke(F&& f, Args&&... args)
|
| 6 |
noexcept(is_nothrow_invocable_v<F, Args...>);
|
| 7 |
```
|
| 8 |
|
| 9 |
*Returns:* *INVOKE*(std::forward\<F\>(f),
|
| 10 |
-
std::forward\<Args\>(args)...)
|
| 11 |
|
|
|
|
| 1 |
### Function template `invoke` <a id="func.invoke">[[func.invoke]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
template<class F, class... Args>
|
| 5 |
+
constexpr invoke_result_t<F, Args...> invoke(F&& f, Args&&... args)
|
| 6 |
noexcept(is_nothrow_invocable_v<F, Args...>);
|
| 7 |
```
|
| 8 |
|
| 9 |
*Returns:* *INVOKE*(std::forward\<F\>(f),
|
| 10 |
+
std::forward\<Args\>(args)...) [[func.require]].
|
| 11 |
|