OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:auto_ptr
(Results
1 - 3
of
3
) sorted by null
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/backward/
auto_ptr.h
0
//
auto_ptr
implementation -*- C++ -*-
25
/** @file backward/
auto_ptr
.h
39
* A wrapper class to provide
auto_ptr
with reference semantics.
40
* For example, an
auto_ptr
can be assigned (or constructed from)
41
* the result of a function which returns an
auto_ptr
by value.
60
* An @c
auto_ptr
owns the object it holds a pointer to. Copying
61
* an @c
auto_ptr
copies the pointer and transfers ownership to the
62
* destination. If more than one @c
auto_ptr
owns the same object
65
* The uses of @c
auto_ptr
include providing temporary
69
*
auto_ptr
does not meet the CopyConstructible and Assignabl
85
class
auto_ptr
class
101
auto_ptr
(element_type* __p = 0) throw() : _M_ptr(__p) { }
function in class:auto_ptr
110
auto_ptr
(
auto_ptr
& __a) throw() : _M_ptr(__a.release()) { }
function in class:auto_ptr
123
auto_ptr
(
auto_ptr
<_Tp1>& __a) throw() : _M_ptr(__a.release()) { }
function in class:auto_ptr
258
auto_ptr
(
auto_ptr
_ref<element_type> __ref) throw()
function in class:auto_ptr
284
class
auto_ptr
<void>
class
[
all
...]
/external/stlport/stlport/stl/
_auto_ptr.h
48
class
auto_ptr
: public __ptr_base {
class in inherits:__ptr_base
51
typedef
auto_ptr
<_Tp> _Self;
84
explicit
auto_ptr
(_Tp* __px = 0) _STLP_NOTHROW { this->__set(__px); }
88
template<class _Tp1>
auto_ptr
(
auto_ptr
<_Tp1>& __r) _STLP_NOTHROW {
93
template<class _Tp1>
auto_ptr
<_Tp>& operator=(
auto_ptr
<_Tp1>& __r) _STLP_NOTHROW {
100
auto_ptr
(_Self& __r) _STLP_NOTHROW { this->__set(__r.release()); }
107
~
auto_ptr
() _STLP_NOTHROW { /* boris : reset(0) might be better */ delete this->get(); }
109
auto_ptr
(auto_ptr_ref<_Tp> __r) _STLP_NOTHRO
[
all
...]