Lines Matching defs:ScopedTypeRef
15 // ScopedTypeRef<> is patterned after scoped_ptr<>, but maintains a ownership
34 // base::ScopedTypeRef<CGLContextObj> context;
38 // the ScopedTypeRef<> being initialized is assuming the caller's existing
49 class ScopedTypeRef {
53 ScopedTypeRef(
61 ScopedTypeRef(const ScopedTypeRef<T, Traits>& that)
67 ~ScopedTypeRef() {
72 ScopedTypeRef& operator=(const ScopedTypeRef<T, Traits>& that) {
111 void swap(ScopedTypeRef& that) {
117 // ScopedTypeRef<>::release() is like scoped_ptr<>::release. It is NOT
118 // a wrapper for Release(). To force a ScopedTypeRef<> object to call
119 // Release(), use ScopedTypeRef<>::reset().