Lines Matching defs:scoped_ptr
221 // scoped_ptr - as in TR2.
1110 // Defines scoped_ptr.
1112 // This implementation of scoped_ptr is PARTIAL - it only contains
1115 class scoped_ptr {
1119 explicit scoped_ptr(T* p = NULL) : ptr_(p) {}
1120 ~scoped_ptr() { reset(); }
1141 friend void swap(scoped_ptr& a, scoped_ptr& b) {
1149 GTEST_DISALLOW_COPY_AND_ASSIGN_(scoped_ptr);
1916 scoped_ptr<ValueHolderFactory> default_factory_;
2122 scoped_ptr<ValueHolderFactory> default_factory_;