RefCount Class
class QtPrivate::RefCountHeader: | #include <RefCount> |
Detailed Description
\inmodule
QtCore \internal
QRefCount implements atomic ref counting for Qt's shared classes. It behaves very similar to QAtomicInt, but ignores negative ref counts.
This can be used to allow to implement e.g. const read-only QStringData objects. QString::shared_null and the qs(...) macro make use of this feature.