OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:UniquePtr
(Results
1 - 2
of
2
) sorted by null
/libnativehelper/include/nativehelper/
UniquePtr.h
49
//
UniquePtr
<C> c(new C);
51
class
UniquePtr
{
53
// Construct a new
UniquePtr
, taking ownership of the given raw pointer.
54
explicit
UniquePtr
(T* ptr = NULL) : mPtr(ptr) {
57
~
UniquePtr
() {
67
// The pointer will not be deleted by
UniquePtr
.
85
void swap(
UniquePtr
<T>& other) {
94
template <typename T2> bool operator==(const
UniquePtr
<T2>& p) const;
95
template <typename T2> bool operator!=(const
UniquePtr
<T2>& p) const;
98
UniquePtr
(const UniquePtr&)
[
all
...]
/system/core/include/utils/
UniquePtr.h
19
* THIS IS A COPY OF libcore/include/
UniquePtr
.h AND AS SUCH THAT IS THE
56
//
UniquePtr
<C> c(new C);
58
class
UniquePtr
{
60
// Construct a new
UniquePtr
, taking ownership of the given raw pointer.
61
explicit
UniquePtr
(T* ptr = NULL) : mPtr(ptr) {
64
~
UniquePtr
() {
74
// The pointer will not be deleted by
UniquePtr
.
96
template <typename T2> bool operator==(const
UniquePtr
<T2>& p) const;
97
template <typename T2> bool operator!=(const
UniquePtr
<T2>& p) const;
100
UniquePtr
(const UniquePtr&)
[
all
...]
Completed in 3629 milliseconds