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

Method query

include/stdexec/__detail/__task.hpp:718–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

716 {
717 template <__one_of<get_scheduler_t, get_start_scheduler_t> _Tag>
718 [[nodiscard]]
719 constexpr auto query(_Tag) const noexcept -> start_scheduler_type
720 {
721 return __promise_->__state_->__sch_;
722 }
723
724 [[nodiscard]]
725 constexpr auto query(get_allocator_t) const noexcept -> allocator_type

Callers

nothing calls this directly

Calls 3

__get_allocatorMethod · 0.80
indexMethod · 0.45
get_tokenMethod · 0.45

Tested by

no test coverage detected