MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / always

Function always

test/stdexec/algos/consumers/test_sync_wait.cpp:138–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137 template <class T>
138 auto always(T t)
139 {
140 return [t](auto&&...) mutable
141 {
142 return std::move(t);
143 };
144 }
145
146 TEST_CASE("sync_wait doesn't accept multi-variant senders", "[consumers][sync_wait]")
147 {

Callers 1

test_sync_wait.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected