Lines Matching refs:other

225     /* ctor */ /* implicit */ SharedPtr(const SharedPtr& other)  in SharedPtr()  argument
226 : m_pObj( other.m_pObj ), in SharedPtr()
227 m_pCnt( other.m_pCnt ), in SharedPtr()
228 m_pAllocator( other.m_pAllocator ) in SharedPtr()
242 /* ctor */ /* implicit */ SharedPtr<TObj, TLockObject>(const SharedPtr<Y, TLockObject>& other)
243 : m_pObj( other.m_pObj ),
244 m_pCnt( other.m_pCnt ),
245 m_pAllocator( other.m_pAllocator )
258 /* ctor */ explicit SharedPtr(const WeakPtr<TObj, TLockObject>& other) in SharedPtr() argument
259 : m_pObj( other.m_pObj ), in SharedPtr()
260 m_pCnt( other.m_pCnt ), in SharedPtr()
261 m_pAllocator( other.m_pAllocator ) in SharedPtr()
308 SharedPtr& operator = (const SharedPtr& other)
310 SharedPtr(other).SwapObjPtr(*this);
322 SharedPtr<TObj, TLockObject>& operator = (const SharedPtr<U, TLockObject>& other)
324 SharedPtr(other).SwapObjPtr(*this);
390 void SwapObjPtr(SharedPtr& other) in SwapObjPtr() argument
392 std::swap( m_pObj, other.m_pObj ); in SwapObjPtr()
393 std::swap( m_pCnt, other.m_pCnt ); in SwapObjPtr()
394 std::swap( m_pAllocator, other.m_pAllocator ); in SwapObjPtr()
463 /* ctor */ /* implicit */ WeakPtr<TObj, TLockObject>(const SharedPtr<U, TLockObject>& other)
464 : m_pObj( other.m_pObj ),
465 m_pCnt( other.m_pCnt ),
466 m_pAllocator( other.m_pAllocator )
479 /* ctor */ /* implicit */ WeakPtr(const WeakPtr& other) in WeakPtr() argument
480 : m_pObj( other.m_pObj ), in WeakPtr()
481 m_pCnt( other.m_pCnt ), in WeakPtr()
482 m_pAllocator( other.m_pAllocator ) in WeakPtr()
496 /* ctor */ /* implicit */ WeakPtr<TObj, TLockObject>(const WeakPtr<U, TLockObject>& other)
497 : m_pObj( other.m_pObj ),
498 m_pCnt( other.m_pCnt ),
499 m_pAllocator( other.m_pAllocator )
559 WeakPtr& operator = (const WeakPtr& other)
561 WeakPtr(other).SwapObjPtr(*this);
571 WeakPtr& operator = (const WeakPtr<U, TLockObject>& other)
573 WeakPtr(other).SwapObjPtr(*this);
584 void SwapObjPtr(WeakPtr& other) in SwapObjPtr() argument
586 std::swap( m_pObj, other.m_pObj ); in SwapObjPtr()
587 std::swap( m_pCnt, other.m_pCnt ); in SwapObjPtr()
588 std::swap( m_pAllocator, other.m_pAllocator ); in SwapObjPtr()