tmp/tmp05mw08am/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### `execution::apply_sender` <a id="exec.snd.apply">[[exec.snd.apply]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
namespace std::execution {
|
| 5 |
+
template<class Domain, class Tag, sender Sndr, class... Args>
|
| 6 |
+
constexpr decltype(auto) apply_sender(Domain dom, Tag, Sndr&& sndr, Args&&... args)
|
| 7 |
+
noexcept(see below);
|
| 8 |
+
}
|
| 9 |
+
```
|
| 10 |
+
|
| 11 |
+
Let e be the expression
|
| 12 |
+
|
| 13 |
+
``` cpp
|
| 14 |
+
dom.apply_sender(Tag(), std::forward<Sndr>(sndr), std::forward<Args>(args)...)
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
if that expression is well-formed; otherwise,
|
| 18 |
+
|
| 19 |
+
``` cpp
|
| 20 |
+
default_domain().apply_sender(Tag(), std::forward<Sndr>(sndr), std::forward<Args>(args)...)
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
*Constraints:* The expression e is well-formed.
|
| 24 |
+
|
| 25 |
+
*Returns:* e.
|
| 26 |
+
|
| 27 |
+
*Remarks:* The exception specification is equivalent to `noexcept(`e`)`.
|
| 28 |
+
|