|
kokkos-execution 0.0.1
|
Inspired by the examples from [4]. It calls T::exit when the scope ends.
More...
Public Types | |
| using | type = T |
Public Member Functions | |
| exec::enter_scope_sender auto | operator() (type *storage) const noexcept |
Public Attributes | |
| size_t * | counter |
Inspired by the examples from [4]. It calls T::exit when the scope ends.
Definition at line 18 of file test_lifetime.cpp.
| using Tests::scope_object_with_exit< T >::type = T |
Definition at line 19 of file test_lifetime.cpp.
|
inlinenoexcept |
Definition at line 23 of file test_lifetime.cpp.
References counter.
| size_t* Tests::scope_object_with_exit< T >::counter |
Definition at line 21 of file test_lifetime.cpp.