Home
last modified time | relevance | path

Searched defs:unique_ptr (Results 1 – 5 of 5) sorted by relevance

/external/flatbuffers/include/flatbuffers/
Dstl_emulation.h120 template <class T> using unique_ptr = std::unique_ptr<T>; variable
129 unique_ptr() {} in unique_ptr() function
130 explicit unique_ptr(T* p) : std::unique_ptr<T>(p) {} in unique_ptr() function
131 unique_ptr(std::unique_ptr<T>&& u) { *this = std::move(u); } in unique_ptr() function
132 unique_ptr(unique_ptr&& u) { *this = std::move(u); } in unique_ptr() function
154 unique_ptr() : ptr_(nullptr) {} in unique_ptr() function
155 explicit unique_ptr(T* p) : ptr_(p) {} in unique_ptr() function
156 unique_ptr(unique_ptr&& u) : ptr_(nullptr) { reset(u.release()); } in unique_ptr() function
157 unique_ptr(const unique_ptr& u) : ptr_(nullptr) { in unique_ptr() function
/external/clang/test/CodeGenCXX/
Ddebug-info-template-array.cpp4 struct unique_ptr { struct
5 unique_ptr() {} in unique_ptr() argument
Dpr18635.cpp9 template <typename T> class unique_ptr { class
16 constexpr unique_ptr() noexcept : data() {} in unique_ptr() function in unique_ptr
17 explicit unique_ptr(T *p) noexcept : data() {} in unique_ptr() function in unique_ptr
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) {} in unique_ptr() function in unique_ptr
/external/clang/test/SemaCXX/
Drval-references-examples.cpp4 class unique_ptr { class
10 unique_ptr() : ptr(0) { } in unique_ptr() function in unique_ptr
11 unique_ptr(unique_ptr &&other) : ptr(other.ptr) { other.ptr = 0; } in unique_ptr() function in unique_ptr
12 explicit unique_ptr(T *ptr) : ptr(ptr) { } in unique_ptr() function in unique_ptr