1#ifndef KOKKOS_EXECUTION_IMPL_OPTIONAL_REF_HPP
2#define KOKKOS_EXECUTION_IMPL_OPTIONAL_REF_HPP
4#include "Kokkos_Assert.hpp"
20 :
m_ptr(std::addressof(value)) {
27 return m_ptr !=
nullptr;
31 constexpr T&
get() const noexcept {
constexpr OptionalRef(T &value) noexcept
constexpr T & get() const noexcept
const Event< Exec > * m_ptr
constexpr OptionalRef(T &&)=delete
constexpr bool has_value() const noexcept