OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:UniquePtr
(Results
1 - 3
of
3
) sorted by null
/external/conscrypt/src/compat/native/
UniquePtr.h
53
//
UniquePtr
<C> c(new C);
55
class
UniquePtr
{
57
// Construct a new
UniquePtr
, taking ownership of the given raw pointer.
58
explicit
UniquePtr
(T* ptr = NULL) : mPtr(ptr) {
61
~
UniquePtr
() {
71
// The pointer will not be deleted by
UniquePtr
.
89
void swap(
UniquePtr
<T>& other) {
98
template <typename T2> bool operator==(const
UniquePtr
<T2>& p) const;
99
template <typename T2> bool operator!=(const
UniquePtr
<T2>& p) const;
102
UniquePtr
(const UniquePtr&)
[
all
...]
/libnativehelper/include/nativehelper/
UniquePtr.h
53
//
UniquePtr
<C> c(new C);
55
class
UniquePtr
{
57
// Construct a new
UniquePtr
, taking ownership of the given raw pointer.
58
explicit
UniquePtr
(T* ptr = NULL) : mPtr(ptr) {
61
~
UniquePtr
() {
71
// The pointer will not be deleted by
UniquePtr
.
89
void swap(
UniquePtr
<T>& other) {
98
template <typename T2> bool operator==(const
UniquePtr
<T2>& p) const;
99
template <typename T2> bool operator!=(const
UniquePtr
<T2>& p) const;
102
UniquePtr
(const UniquePtr&)
[
all
...]
/external/deqp/framework/delibs/decpp/
deUniquePtr.hpp
185
*
UniquePtr
is smart pointer that retains sole ownership of a pointer
186
* and destroys it when
UniquePtr
is destroyed (for example when
UniquePtr
189
*
UniquePtr
is not copyable or assignable. Pointer ownership can be transferred
190
* from a
UniquePtr
only explicitly with the move() member function.
192
* A
UniquePtr
can be constructed from a MovePtr. In this case it assumes
193
* ownership of the pointer from the MovePtr. Because a
UniquePtr
cannot be
197
*
UniquePtr
<Foo> fooPtr(createFoo()); // NOT fooPtr = createFoo();
201
class
UniquePtr
: public UniqueBase<T, Deleter>
204
explicit
UniquePtr
(T* ptr, Deleter deleter = Deleter())
[
all
...]
Completed in 1604 milliseconds