39#ifndef Foam_refCount_H
40#define Foam_refCount_H
Reference counter for various OpenFOAM components.
bool unique() const noexcept
Return true if the reference count is zero.
int count() const noexcept
Return the current reference count.
void operator--() noexcept
Decrement the reference count.
constexpr refCount() noexcept
Default construct, initializing count to 0.
void operator++() noexcept
Increment the reference count.
void operator--(int) noexcept
Decrement the reference count.
void operator++(int) noexcept
Increment the reference count.
A non-counting (dummy) refCount.