Searched refs:OwnedWrapper (Results 1 – 2 of 2) sorted by relevance
216 inline internal::OwnedWrapper<T> Owned(T* o) { in Owned()217 return internal::OwnedWrapper<T>(o); in Owned()221 inline internal::OwnedWrapper<T, Deleter> Owned( in Owned()223 return internal::OwnedWrapper<T, Deleter>(std::move(ptr)); in Owned()
135 class OwnedWrapper {137 explicit OwnedWrapper(T* o) : ptr_(o) {} in OwnedWrapper() function138 explicit OwnedWrapper(std::unique_ptr<T, Deleter>&& ptr) in OwnedWrapper() function1312 struct BindUnwrapTraits<internal::OwnedWrapper<T, Deleter>> {1313 static T* Unwrap(const internal::OwnedWrapper<T, Deleter>& o) {