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

Function __to_array

include/stdexec/__detail/__completion_info.hpp:144–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142
143 template <class... _Sigs>
144 [[nodiscard]]
145 consteval auto __to_array(completion_signatures<_Sigs...>) noexcept
146 {
147 using __array_t = __static_vector<__completion_info, sizeof...(_Sigs)>;
148 auto __compls = __array_t{__completion_info(__signature<_Sigs>)...};
149 std::ranges::sort(__compls);
150 return __compls;
151 }
152 } // namespace __cmplsigs
153} // namespace STDEXEC
154

Callers 1

STDEXEC_IF_OKFunction · 0.85

Calls 1

__completion_infoClass · 0.85

Tested by

no test coverage detected