Init
This commit is contained in:
40
cppdraft/exec/snd/apply.md
Normal file
40
cppdraft/exec/snd/apply.md
Normal file
@@ -0,0 +1,40 @@
|
||||
[exec.snd.apply]
|
||||
|
||||
# 33 Execution control library [[exec]](./#exec)
|
||||
|
||||
## 33.9 Senders [[exec.snd]](exec.snd#apply)
|
||||
|
||||
### 33.9.8 execution::apply_sender [exec.snd.apply]
|
||||
|
||||
[ð](#lib:apply_sender)
|
||||
|
||||
`namespace std::execution {
|
||||
template<class Domain, class Tag, [sender](exec.snd.concepts#concept:sender "33.9.3 Sender concepts [exec.snd.concepts]") Sndr, class... Args>
|
||||
constexpr decltype(auto) apply_sender(Domain dom, Tag, Sndr&& sndr, Args&&... args)
|
||||
noexcept(see below);
|
||||
}
|
||||
`
|
||||
|
||||
[1](#1)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/exec.tex#L2601)
|
||||
|
||||
Let e be the expressiondom.apply_sender(Tag(), std::forward<Sndr>(sndr), std::forward<Args>(args)...) if that expression is well-formed; otherwise,default_domain().apply_sender(Tag(), std::forward<Sndr>(sndr), std::forward<Args>(args)...)
|
||||
|
||||
[2](#2)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/exec.tex#L2611)
|
||||
|
||||
*Constraints*: The expression e is well-formed[.](#2.sentence-1)
|
||||
|
||||
[3](#3)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/exec.tex#L2615)
|
||||
|
||||
*Returns*: e[.](#3.sentence-1)
|
||||
|
||||
[4](#4)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/exec.tex#L2619)
|
||||
|
||||
*Remarks*: The exception specification is equivalent to noexcept(e)[.](#4.sentence-1)
|
||||
Reference in New Issue
Block a user