kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Kokkos::Execution::Impl::SyncWait::SyncWait Struct Reference

#include <sync_wait.hpp>

Public Types

template<typename Sndr>
using sends_error = std::bool_constant<stdexec::__sends<stdexec::set_error_t, Sndr, env>>
template<typename Sndr>
using result_t = stdexec::__sync_wait::__value_tuple_for_t<Sndr>
template<typename Sndr>
using receiver_t = Receiver<Impl::exec_of_t<Sndr, env>, sends_error<Sndr>, result_t<Sndr>>

Public Member Functions

template<stdexec::sender Sndr>
auto operator() (Sndr &&sndr) const noexcept(!sends_error< Sndr && >::value &&is_nothrow_connectable< Sndr && >) -> std::optional< result_t< Sndr && > >

Static Public Attributes

template<typename Sndr>
static constexpr bool is_nothrow_connectable = stdexec::__nothrow_connectable<Sndr, receiver_t<Sndr>>

Detailed Description

Definition at line 92 of file sync_wait.hpp.

Member Typedef Documentation

◆ receiver_t

Definition at line 100 of file sync_wait.hpp.

◆ result_t

template<typename Sndr>
using Kokkos::Execution::Impl::SyncWait::SyncWait::result_t = stdexec::__sync_wait::__value_tuple_for_t<Sndr>

Definition at line 97 of file sync_wait.hpp.

◆ sends_error

template<typename Sndr>
using Kokkos::Execution::Impl::SyncWait::SyncWait::sends_error = std::bool_constant<stdexec::__sends<stdexec::set_error_t, Sndr, env>>

Definition at line 94 of file sync_wait.hpp.

Member Function Documentation

◆ operator()()

template<stdexec::sender Sndr>
auto Kokkos::Execution::Impl::SyncWait::SyncWait::operator() ( Sndr && sndr) const->std::optional< result_t< Sndr && > >
inlinenoexcept

Member Data Documentation

◆ is_nothrow_connectable

template<typename Sndr>
bool Kokkos::Execution::Impl::SyncWait::SyncWait::is_nothrow_connectable = stdexec::__nothrow_connectable<Sndr, receiver_t<Sndr>>
staticconstexpr

Definition at line 103 of file sync_wait.hpp.


The documentation for this struct was generated from the following file:
  • /__w/kokkos-execution/kokkos-execution/kokkos-execution/impl/sync_wait.hpp