Lines Matching refs:T
28 template<class T>
29 class HandleWrapper : public MutableHandle<T> {
31 HandleWrapper(T** obj, const MutableHandle<T>& handle) in HandleWrapper()
32 : MutableHandle<T>(handle), obj_(obj) { in HandleWrapper()
38 *obj_ = MutableHandle<T>::Get(); in ~HandleWrapper()
42 T** const obj_;
48 template<class T>
49 class HandleWrapperObjPtr : public MutableHandle<T> {
51 HandleWrapperObjPtr(ObjPtr<T>* obj, const MutableHandle<T>& handle) in HandleWrapperObjPtr()
52 : MutableHandle<T>(handle), obj_(obj) {} in HandleWrapperObjPtr()
57 *obj_ = MutableHandle<T>::Get(); in ~HandleWrapperObjPtr()
61 ObjPtr<T>* const obj_;