Lines Matching refs:T
23 template <class T, bool threadSafe = false>
27 explicit SmartPtr(T* ptr = (T*)NULL) {
41 SmartPtr<T,threadSafe>(const SmartPtr<T,false>& rhs) {
53 SmartPtr<T,threadSafe>(SmartPtr<T,true>& rhs) {
78 T* Ptr() const { in Ptr()
82 const T* constPtr() const in constPtr()
87 T* operator->() const {
91 T& operator*() const {
100 bool operator <(const SmartPtr<T>& t1) const {
104 SmartPtr<T,threadSafe>& operator=(const SmartPtr<T,false>& rhs)
119 SmartPtr<T,threadSafe>& operator=(SmartPtr<T,true>& rhs)
139 T* m_ptr;