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); } 156 template <typename U> linked_ptr(linked_ptr<U> const& ptr) { copy(&ptr); } 163 template <typename U> linked_ptr& operator=(linked_ptr<U> const& 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) { 213 template <typename U> void copy(linked_ptr<U> const* ptr) {utils/unittest/googletest/include/gtest/internal/gtest-param-util.h
526 tests_.push_back(linked_ptr<TestInfo>(new TestInfo(test_case_name, 526 tests_.push_back(linked_ptr<TestInfo>(new TestInfo(test_case_name, 549 linked_ptr<TestInfo> test_info = *test_it; 616 typedef ::std::vector<linked_ptr<TestInfo> > TestInfoContainer;