|
kokkos-execution 0.0.1
|
This helper struct throws when copy constructed. More...
#include <throws_when_copied.hpp>
Public Member Functions | |
| ThrowsWhenCopied ()=default | |
| ThrowsWhenCopied & | operator= (const ThrowsWhenCopied &)=default |
| ThrowsWhenCopied (ThrowsWhenCopied &&)=default | |
| ThrowsWhenCopied & | operator= (ThrowsWhenCopied &&)=default |
| ~ThrowsWhenCopied ()=default | |
| ThrowsWhenCopied (const ThrowsWhenCopied &) | |
| void | operator() () const |
This helper struct throws when copy constructed.
It can be used to throw while passing it to Kokkos, since it always copies as seen e.g. in https://github.com/kokkos/kokkos/blob/1e75c539491b8ce46c4671ce2e2275e15f1c27bc/core/src/Kokkos_Parallel.hpp#L142-L144
Definition at line 30 of file throws_when_copied.hpp.
|
default |
|
default |
References ThrowsWhenCopied().
|
default |
|
inline |
Definition at line 37 of file throws_when_copied.hpp.
References ThrowsWhenCopied().
|
inline |
Definition at line 42 of file throws_when_copied.hpp.
|
default |
References ThrowsWhenCopied().
|
default |
References ThrowsWhenCopied().