17 #define Om_Shareable_ \
20 #ifndef Om_Macro_Precompilation_
36 template <
typename ThisOwnerCount =
size_t>
45 template <
typename TheOwnerCount>
54 template <
typename TheOwnerCount>
91 template <
typename TheOwnerCount>
96 template <
typename TheOwnerCount>
A pointee for boost::intrusive_ptr.
Shareable(Shareable const &)
ThisOwnerCount GetOwnerCount() const
friend void intrusive_ptr_add_ref(Shareable< TheOwnerCount > *const)
friend void intrusive_ptr_release(Shareable< TheOwnerCount > *const)
void DecrementOwnerCount()
Shareable & operator=(Shareable const &)
ThisOwnerCount thisOwnerCount
The number of owners of this object.
void IncrementOwnerCount()
void intrusive_ptr_add_ref(Shareable< TheOwnerCount > *const)
void intrusive_ptr_release(Shareable< TheOwnerCount > *const)