kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Tests::Utils::Functors::CounterRef Struct Reference

Similar to Tests::Utils::Functors::Counter, but the internal counters are not atomic. More...

#include <counter.hpp>

Classes

struct  counters

Public Member Functions

constexpr CounterRef (counters &counts) noexcept
constexpr ~CounterRef () noexcept
constexpr CounterRef (const CounterRef &other) noexcept
constexpr CounterRef & operator= (const CounterRef &other) noexcept
constexpr CounterRef (CounterRef &&other) noexcept
constexpr CounterRef & operator= (CounterRef &&other) noexcept

Public Attributes

counters & m_counts

Detailed Description

Similar to Tests::Utils::Functors::Counter, but the internal counters are not atomic.

Definition at line 70 of file counter.hpp.

Constructor & Destructor Documentation

◆ CounterRef() [1/3]

Tests::Utils::Functors::CounterRef::CounterRef ( counters & counts)
inlineexplicitconstexprnoexcept

◆ ~CounterRef()

Tests::Utils::Functors::CounterRef::~CounterRef ( )
inlineconstexprnoexcept

◆ CounterRef() [2/3]

Tests::Utils::Functors::CounterRef::CounterRef ( const CounterRef & other)
inlineconstexprnoexcept

◆ CounterRef() [3/3]

Tests::Utils::Functors::CounterRef::CounterRef ( CounterRef && other)
inlineconstexprnoexcept

Member Function Documentation

◆ operator=() [1/2]

CounterRef & Tests::Utils::Functors::CounterRef::operator= ( const CounterRef & other)
inlineconstexprnoexcept

◆ operator=() [2/2]

CounterRef & Tests::Utils::Functors::CounterRef::operator= ( CounterRef && other)
inlineconstexprnoexcept

Member Data Documentation

◆ m_counts

counters& Tests::Utils::Functors::CounterRef::m_counts

Definition at line 80 of file counter.hpp.


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