|
kokkos-execution 0.0.1
|
A non-owning, nullable reference to a T.
More...
#include <optional_ref.hpp>
Public Member Functions | |
| OptionalRef ()=default | |
| constexpr | OptionalRef (T &value) noexcept |
| constexpr | OptionalRef (T &&)=delete |
| constexpr bool | has_value () const noexcept |
| constexpr T & | get () const noexcept |
Public Attributes | |
| T * | m_ptr = nullptr |
A non-owning, nullable reference to a T.
Definition at line 14 of file optional_ref.hpp.
|
default |
|
inlineexplicitconstexprnoexcept |
Definition at line 19 of file optional_ref.hpp.
|
explicitconstexprdelete |
|
inlinenodiscardconstexprnoexcept |
Definition at line 31 of file optional_ref.hpp.
|
inlinenodiscardconstexprnoexcept |
Definition at line 26 of file optional_ref.hpp.
| T* Kokkos::Execution::Impl::OptionalRef< T >::m_ptr = nullptr |
Definition at line 15 of file optional_ref.hpp.