Constrain an EventType type to be a valid event type for Exec execution space type.
More...
#include <event.hpp>
template<typename EventType, typename Exec>
&& std::constructible_from<EventType, const Exec&> && std::move_constructible<EventType>
&& requires(EventType& obj, const Exec& exec) {
{ obj.record(exec) } -> std::same_as<void>;
} && requires(const EventType& obj) {
{ obj.wait() } -> std::same_as<void>;
}
Constrain an EventType type to be a valid event type for Exec execution space type.
Constrain an EventType type to be a valid event type for Exec execution space type.
Definition at line 24 of file event.hpp.