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

Function __get

include/stdexec/__detail/__variant.hpp:84–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 template <std::size_t _Ny, class _Variant>
83 STDEXEC_ATTRIBUTE(host, device)
84 constexpr auto __get(_Variant &&__var) noexcept -> __variant_alternative_t<_Ny, _Variant> &&
85 {
86 return __var.template __get<_Ny>(static_cast<_Variant &&>(__var));
87 }
88
89 template <size_t _Ny, class _Result, class _Fn, class _Self, class... _Us>
90 STDEXEC_ATTRIBUTE(host, device)

Callers

nothing calls this directly

Calls 1

__dataMethod · 0.80

Tested by

no test coverage detected