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

Method __as

include/stdexec/__detail/__parallel_scheduler.hpp:137–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136 template <class _T>
137 auto __as() noexcept -> _T&
138 {
139 static_assert(alignof(_T) <= _Align);
140 return *reinterpret_cast<_T*>(__data_);
141 }
142
143 auto __as_ptr() noexcept -> void*
144 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected