1#ifndef UTIL_REFERENCE_COUNTER_H
2#define UTIL_REFERENCE_COUNTER_H
67 friend class CountedReference;
77 {
return (nRef_ > 0); }
bool hasRefs() const
Does this counter have references (is nRef > 0)?
ReferenceCounter()
Constructor.
int nRef() const
Get the number of references to a shareable resource.
Utility classes for scientific computation.