Searched defs:OwningPtr (Results 1 - 1 of 1) sorted by relevance

/external/llvm/include/llvm/ADT/
H A DOwningPtr.h1 //===- llvm/ADT/OwningPtr.h - Smart ptr that owns the pointee ---*- C++ -*-===//
10 // This file defines and implements the OwningPtr class.
22 /// OwningPtr smart pointer - OwningPtr mimics a built-in pointer except that it
24 /// OwningPtr or via an explicit reset(). Once created, ownership of the
25 /// pointee object can be taken away from OwningPtr by using the take method.
27 class OwningPtr { class in namespace:llvm
28 OwningPtr(OwningPtr const &); // DO NOT IMPLEMENT
29 OwningPtr
32 explicit OwningPtr(T *P = 0) : Ptr(P) {} function in class:llvm::OwningPtr
[all...]

Completed in 93 milliseconds