Searched refs:OwnedWrapper (Results 1 – 2 of 2) sorted by relevance
112 class OwnedWrapper {114 explicit OwnedWrapper(T* o) : ptr_(o) {} in OwnedWrapper() function115 ~OwnedWrapper() { delete ptr_; } in ~OwnedWrapper()117 OwnedWrapper(OwnedWrapper&& other) { in OwnedWrapper() function904 struct BindUnwrapTraits<internal::OwnedWrapper<T>> {905 static T* Unwrap(const internal::OwnedWrapper<T>& o) { return o.get(); }
386 static inline internal::OwnedWrapper<T> Owned(T* o) {387 return internal::OwnedWrapper<T>(o);