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
/frameworks/native/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
...]
/libcore/include/
UniquePtr.h
48
//
UniquePtr
<C> c(new C);
50
class
UniquePtr
{
52
// Construct a new
UniquePtr
, taking ownership of the given raw pointer.
53
explicit
UniquePtr
(T* ptr = NULL) : mPtr(ptr) {
56
~
UniquePtr
() {
66
// The pointer will not be deleted by
UniquePtr
.
88
template <typename T2> bool operator==(const
UniquePtr
<T2>& p) const;
89
template <typename T2> bool operator!=(const
UniquePtr
<T2>& p) const;
92
UniquePtr
(const
UniquePtr
&)
[
all
...]
Completed in 74 milliseconds