Lines Matching refs:T
22 template <class T, bool threadSafe = false>
26 explicit SmartPtr(T* ptr = (T*)NULL) {
40 SmartPtr<T,threadSafe>(const SmartPtr<T,false>& rhs) {
52 SmartPtr<T,threadSafe>(SmartPtr<T,true>& rhs) {
77 T* Ptr() const { in Ptr()
81 const T* constPtr() const in constPtr()
86 T* operator->() const {
90 T& operator*() const {
99 bool operator <(const SmartPtr<T>& t1) const {
103 SmartPtr<T,threadSafe>& operator=(const SmartPtr<T,false>& rhs)
118 SmartPtr<T,threadSafe>& operator=(SmartPtr<T,true>& rhs)
138 T* m_ptr;