Searched defs:unique_ptr (Results 1 - 6 of 6) sorted by path

/external/boringssl/src/crypto/test/
H A Dstl_compat.h75 // unique_ptr is a partial reimplementation of |std::unique_ptr| from C++11. It
79 class unique_ptr { class in namespace:bssl
81 unique_ptr() : ptr_(nullptr) {} function in class:bssl::unique_ptr
82 unique_ptr(nullptr_t) : ptr_(nullptr) {} function in class:bssl::unique_ptr
83 unique_ptr(T *ptr) : ptr_(ptr) {} function in class:bssl::unique_ptr
84 unique_ptr(const unique_ptr &u) = delete;
86 unique_ptr(unique_ptr function in class:bssl::unique_ptr
[all...]
/external/clang/test/CodeGenCXX/
H A Ddebug-info-template-array.cpp4 struct unique_ptr { struct
5 unique_ptr() {} function in struct:unique_ptr
13 unique_ptr<Vertex<2>[]> v = unique_ptr<Vertex<2>[]>();
H A Ddebug-info-template-partial-specialization.cpp24 template <class _Tp, class _Dp = default_delete<_Tp> > class unique_ptr class
27 unique_ptr(pointer __p, _Dp __d) {} function in class:unique_ptr
30 unique_ptr<C> Ptr;
H A Dpr18635.cpp9 template <typename T> class unique_ptr { class
16 constexpr unique_ptr() noexcept : data() {}
17 explicit unique_ptr(T *p) noexcept : data() {}
20 thread_local unique_ptr<int> x;
21 int main() { x = unique_ptr<int>(new int(5)); }
/external/clang/test/SemaCXX/
H A Drval-references-examples.cpp4 class unique_ptr { class
7 unique_ptr(const unique_ptr&) = delete; // expected-note 3{{'unique_ptr' has been explicitly marked deleted here}}
8 unique_ptr &operator=(const unique_ptr&) = delete; // expected-note{{candidate function has been explicitly deleted}}
10 unique_ptr() : ptr(0) { } function in class:unique_ptr
11 unique_ptr(unique_ptr &&other) : ptr(other.ptr) { other.ptr = 0; } function in class:unique_ptr
12 explicit unique_ptr( function in class:unique_ptr
[all...]
/external/pdfium/third_party/base/
H A Dnonstd_unique_ptr.h30 // renamed to nonstd::unique_ptr, and from which more complicated classes
38 // A unique_ptr<T> is like a T*, except that the destructor of unique_ptr<T>
40 // That is, unique_ptr<T> owns the T object that it points to.
41 // Like a T*, a unique_ptr<T> may hold either NULL or a pointer to a T object.
42 // Also like T*, unique_ptr<T> is thread-compatible, and once you
45 // Example usage (unique_ptr):
47 // unique_ptr<Foo> foo(new Foo("wee"));
51 // unique_ptr<Foo> foo; // No pointer managed.
64 // The size of a unique_ptr i
135 class unique_ptr : public unique_ptr_base<C> { class in namespace:nonstd
142 explicit unique_ptr(C* p = NULL) : unique_ptr_base<C>(p) { } function in class:nonstd::unique_ptr
177 class unique_ptr<C[]> : public unique_ptr_base<C> { class in namespace:nonstd
184 explicit unique_ptr(C* p = NULL) : unique_ptr_base<C>(p) { } function in class:nonstd::unique_ptr
[all...]

Completed in 376 milliseconds