reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
148 typedef T element_type; 152 explicit linked_ptr(T* ptr = NULL) { capture(ptr); } 178 void reset(T* ptr = NULL) { 182 T* get() const { return value_; } 183 T* operator->() const { return value_; } 184 T& operator*() const { return *value_; } 186 bool operator==(T* p) const { return value_ == p; } 187 bool operator!=(T* p) const { return value_ != p; } 201 T* value_; 208 void capture(T* ptr) {