kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Tests::Utils::Functors::NoOp< MayThrowOnCall, MayThrowOnCopy, MayThrowOnMove > Struct Template Reference

Does nothing. More...

#include <no_op.hpp>

Public Member Functions

 NoOp ()=default
 NoOp (const NoOp &) noexcept(!MayThrowOnCopy)
 NoOp (NoOp &&) noexcept(!MayThrowOnMove)
NoOpoperator= (const NoOp &) noexcept(!MayThrowOnCopy)
NoOpoperator= (NoOp &&) noexcept(!MayThrowOnMove)
 ~NoOp ()=default
template<typename... Args>
void operator() (Args &&...) const noexcept(!MayThrowOnCall)

Detailed Description

template<bool MayThrowOnCall = true, bool MayThrowOnCopy = true, bool MayThrowOnMove = true>
struct Tests::Utils::Functors::NoOp< MayThrowOnCall, MayThrowOnCopy, MayThrowOnMove >

Does nothing.

Definition at line 10 of file no_op.hpp.

Constructor & Destructor Documentation

◆ NoOp() [1/3]

template<bool MayThrowOnCall = true, bool MayThrowOnCopy = true, bool MayThrowOnMove = true>
Tests::Utils::Functors::NoOp< MayThrowOnCall, MayThrowOnCopy, MayThrowOnMove >::NoOp ( )
default

◆ NoOp() [2/3]

template<bool MayThrowOnCall = true, bool MayThrowOnCopy = true, bool MayThrowOnMove = true>
Tests::Utils::Functors::NoOp< MayThrowOnCall, MayThrowOnCopy, MayThrowOnMove >::NoOp ( const NoOp< MayThrowOnCall, MayThrowOnCopy, MayThrowOnMove > & )
inlinenoexcept

Definition at line 13 of file no_op.hpp.

References NoOp().

◆ NoOp() [3/3]

template<bool MayThrowOnCall = true, bool MayThrowOnCopy = true, bool MayThrowOnMove = true>
Tests::Utils::Functors::NoOp< MayThrowOnCall, MayThrowOnCopy, MayThrowOnMove >::NoOp ( NoOp< MayThrowOnCall, MayThrowOnCopy, MayThrowOnMove > && )
inlinenoexcept

Definition at line 16 of file no_op.hpp.

References NoOp().

◆ ~NoOp()

template<bool MayThrowOnCall = true, bool MayThrowOnCopy = true, bool MayThrowOnMove = true>
Tests::Utils::Functors::NoOp< MayThrowOnCall, MayThrowOnCopy, MayThrowOnMove >::~NoOp ( )
default

Member Function Documentation

◆ operator()()

template<bool MayThrowOnCall = true, bool MayThrowOnCopy = true, bool MayThrowOnMove = true>
template<typename... Args>
void Tests::Utils::Functors::NoOp< MayThrowOnCall, MayThrowOnCopy, MayThrowOnMove >::operator() ( Args && ...) const
inlinenoexcept

Definition at line 30 of file no_op.hpp.

◆ operator=() [1/2]

template<bool MayThrowOnCall = true, bool MayThrowOnCopy = true, bool MayThrowOnMove = true>
NoOp & Tests::Utils::Functors::NoOp< MayThrowOnCall, MayThrowOnCopy, MayThrowOnMove >::operator= ( const NoOp< MayThrowOnCall, MayThrowOnCopy, MayThrowOnMove > & )
inlinenoexcept

Definition at line 19 of file no_op.hpp.

References NoOp().

◆ operator=() [2/2]

template<bool MayThrowOnCall = true, bool MayThrowOnCopy = true, bool MayThrowOnMove = true>
NoOp & Tests::Utils::Functors::NoOp< MayThrowOnCall, MayThrowOnCopy, MayThrowOnMove >::operator= ( NoOp< MayThrowOnCall, MayThrowOnCopy, MayThrowOnMove > && )
inlinenoexcept

Definition at line 23 of file no_op.hpp.

References NoOp().


The documentation for this struct was generated from the following file:
  • /__w/kokkos-execution/kokkos-execution/tests/utils/functors/no_op.hpp