19 #ifndef INCLUDED_VCL_Reference_HXX
20 #define INCLUDED_VCL_Reference_HXX
23 #include <osl/interlck.h>
29 template<
typename T>
friend class VclPtr;
34 osl_atomic_increment(&mnRefCnt);
39 if (osl_atomic_decrement(&mnRefCnt) == 0)
VclPtr & operator=(VclPtr const &)=default
A thin wrapper around rtl::Reference to implement the acquire and dispose semantics we want for refer...
sal_Int32 getRefCount() const
oslInterlockedCount mnRefCnt