Lines Matching refs:other
223 /* ctor */ /* implicit */ SharedPtr(const SharedPtr& other) in SharedPtr() argument
224 : m_pObj( other.m_pObj ), in SharedPtr()
225 m_pCnt( other.m_pCnt ), in SharedPtr()
226 m_pAllocator( other.m_pAllocator ) in SharedPtr()
240 /* ctor */ /* implicit */ SharedPtr<TObj, TLockObject>(const SharedPtr<Y, TLockObject>& other)
241 : m_pObj( other.m_pObj ),
242 m_pCnt( other.m_pCnt ),
243 m_pAllocator( other.m_pAllocator )
256 /* ctor */ explicit SharedPtr(const WeakPtr<TObj, TLockObject>& other) in SharedPtr() argument
257 : m_pObj( other.m_pObj ), in SharedPtr()
258 m_pCnt( other.m_pCnt ), in SharedPtr()
259 m_pAllocator( other.m_pAllocator ) in SharedPtr()
306 SharedPtr& operator = (const SharedPtr& other)
308 SharedPtr(other).SwapObjPtr(*this);
320 SharedPtr<TObj, TLockObject>& operator = (const SharedPtr<U, TLockObject>& other)
322 SharedPtr(other).SwapObjPtr(*this);
388 void SwapObjPtr(SharedPtr& other) in SwapObjPtr() argument
390 std::swap( m_pObj, other.m_pObj ); in SwapObjPtr()
391 std::swap( m_pCnt, other.m_pCnt ); in SwapObjPtr()
392 std::swap( m_pAllocator, other.m_pAllocator ); in SwapObjPtr()
461 /* ctor */ /* implicit */ WeakPtr(const SharedPtr<U, TLockObject>& other) in WeakPtr() argument
462 : m_pObj(other.m_pObj), in WeakPtr()
463 m_pCnt(other.m_pCnt), in WeakPtr()
464 m_pAllocator(other.m_pAllocator) in WeakPtr()
478 /* ctor */ /* implicit */ WeakPtr(const WeakPtr<U, TLockObject>& other) in WeakPtr() argument
479 : m_pObj(other.m_pObj), in WeakPtr()
480 m_pCnt(other.m_pCnt), in WeakPtr()
481 m_pAllocator(other.m_pAllocator) in WeakPtr()
531 WeakPtr& operator = (const WeakPtr<U, TLockObject>& other)
533 WeakPtr(other).SwapObjPtr(*this);
544 void SwapObjPtr(WeakPtr& other) in SwapObjPtr() argument
546 std::swap( m_pObj, other.m_pObj ); in SwapObjPtr()
547 std::swap( m_pCnt, other.m_pCnt ); in SwapObjPtr()
548 std::swap( m_pAllocator, other.m_pAllocator ); in SwapObjPtr()