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.
void operator++() noexcept
Increment the reference count.
int use_count() const noexcept
Return the current reference count.
constexpr refCount() noexcept
Default construct, initializing count to 0.
void operator--() noexcept
Decrement the reference count.
A non-counting (dummy) refCount.