kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Kokkos::Execution::Impl::CompileTimeOptional< Enabled, T > Struct Template Reference

Compile-time optional value that holds a T when Enabled, is an empty type otherwise. More...

Detailed Description

template<bool Enabled, typename T>
struct Kokkos::Execution::Impl::CompileTimeOptional< Enabled, T >

Compile-time optional value that holds a T when Enabled, is an empty type otherwise.

Unlike std::optional, there is no run-time engaged state and no storage for one. When disabled, constructor arguments are accepted and discarded.

Definition at line 17 of file compile_time_optional.hpp.


The documentation for this struct was generated from the following file: