OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:auto_ptr
(Results
1 - 25
of
55
) sorted by null
1
2
3
/external/libcxx/test/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/
convert_to_auto_ptr.pass.cpp
12
// template <class X> class
auto_ptr
;
14
// template<class Y> operator
auto_ptr
<Y>() throw();
21
std::
auto_ptr
<B>
24
return std::
auto_ptr
<B>(new B(1));
30
std::
auto_ptr
<A> ap2(source());
convert_to_auto_ptr_ref.pass.cpp
12
// template <class X> class
auto_ptr
;
25
std::
auto_ptr
<B> ap1(p1);
assign_from_auto_ptr_ref.pass.cpp
12
// template <class X> class
auto_ptr
;
14
//
auto_ptr
& operator=(auto_ptr_ref<X> r) throw()
26
std::
auto_ptr
<A> ap1(p1);
28
std::
auto_ptr
<A> ap2(new A(2));
convert_from_auto_ptr_ref.pass.cpp
12
// template <class X> class
auto_ptr
;
14
//
auto_ptr
(auto_ptr_ref<X> r) throw();
26
std::
auto_ptr
<B> ap1(p1);
28
std::
auto_ptr
<A> ap2(apr);
/external/libcxx/test/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/
copy.fail.cpp
12
// template <class X> class
auto_ptr
;
14
//
auto_ptr
(
auto_ptr
& a) throw();
26
const std::
auto_ptr
<A> ap1(p);
27
std::
auto_ptr
<A> ap2(ap1);
copy.pass.cpp
12
// template <class X> class
auto_ptr
;
14
//
auto_ptr
(
auto_ptr
& a) throw();
26
std::
auto_ptr
<A> ap1(p);
27
std::
auto_ptr
<A> ap2(ap1);
explicit.fail.cpp
12
// template <class X> class
auto_ptr
;
14
// explicit
auto_ptr
(X* p =0) throw();
26
std::
auto_ptr
<A> ap = p;
32
std::
auto_ptr
<A> ap;
pointer.pass.cpp
12
// template <class X> class
auto_ptr
;
14
// explicit
auto_ptr
(X* p =0) throw();
26
std::
auto_ptr
<A> ap(p);
32
std::
auto_ptr
<A> ap;
assignment.fail.cpp
12
// template <class X> class
auto_ptr
;
14
//
auto_ptr
& operator=(
auto_ptr
& a) throw();
26
const std::
auto_ptr
<A> ap1(p1);
28
std::
auto_ptr
<A> ap2(p2);
32
std::
auto_ptr
<A>& apr = ap2 = ap1;
assignment.pass.cpp
12
// template <class X> class
auto_ptr
;
14
//
auto_ptr
& operator=(
auto_ptr
& a) throw();
26
std::
auto_ptr
<A> ap1(p1);
28
std::
auto_ptr
<A> ap2(p2);
32
std::
auto_ptr
<A>& apr = ap2 = ap1;
convert.fail.cpp
12
// template <class X> class
auto_ptr
;
14
//
auto_ptr
(
auto_ptr
& a) throw();
26
const std::
auto_ptr
<B> ap1(p);
27
std::
auto_ptr
<A> ap2(ap1);
convert.pass.cpp
12
// template <class X> class
auto_ptr
;
14
//
auto_ptr
(
auto_ptr
& a) throw();
26
std::
auto_ptr
<B> ap1(p);
27
std::
auto_ptr
<A> ap2(ap1);
convert_assignment.fail.cpp
12
// template <class X> class
auto_ptr
;
14
// template<class Y>
auto_ptr
& operator=(
auto_ptr
<Y>& a) throw();
26
const std::
auto_ptr
<B> ap1(p1);
28
std::
auto_ptr
<A> ap2(p2);
33
std::
auto_ptr
<A>& apr = ap2 = ap1;
convert_assignment.pass.cpp
12
// template <class X> class
auto_ptr
;
14
// template<class Y>
auto_ptr
& operator=(
auto_ptr
<Y>& a) throw();
26
std::
auto_ptr
<B> ap1(p1);
28
std::
auto_ptr
<A> ap2(p2);
33
std::
auto_ptr
<A>& apr = ap2 = ap1;
/external/libcxx/test/depr/depr.auto.ptr/auto.ptr/
element_type.pass.cpp
13
// class
auto_ptr
27
static_assert((std::is_same<typename std::
auto_ptr
<T>::element_type, T>::value), "");
35
std::
auto_ptr
<void> p;
/external/clang/test/Analysis/diagnostics/Inputs/include/
report-issues-within-main-file.h
2
class
auto_ptr
{
class
6
auto_ptr
(_Tp* __p = 0) throw() : _M_ptr(__p) { }
function in class:auto_ptr
7
~
auto_ptr
() { delete _M_ptr; }
/external/libcxx/test/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/
reset.pass.cpp
12
// template <class X> class
auto_ptr
;
26
std::
auto_ptr
<A> ap(p);
34
std::
auto_ptr
<A> ap(p);
42
std::
auto_ptr
<A> ap(p);
arrow.pass.cpp
12
// template <class X> class
auto_ptr
;
26
std::
auto_ptr
<A> ap(p);
deref.pass.cpp
12
// template <class X> class
auto_ptr
;
26
const std::
auto_ptr
<A> ap(p);
release.pass.cpp
12
// template <class X> class
auto_ptr
;
26
std::
auto_ptr
<A> ap(p);
/external/clang/test/CodeGenCXX/
2010-07-23-DeclLoc.cpp
13
template<typename _Tp> class
auto_ptr
{
class in namespace:std
17
auto_ptr
(element_type* __p = 0) throw() : _M_ptr(__p) { }
function in class:std::auto_ptr
77
std::
auto_ptr
< TRawSymbolOwnerData<SIZE> > data(new TRawSymbolOwnerData<SIZE>());
78
std::
auto_ptr
< TExtendedMachOHeader<SIZE_AND_ENDIANNESS> > header;
/external/clang/test/SemaCXX/
conversion-function.cpp
225
//
auto_ptr
-like template. In particular, we can't create multiple
227
struct
auto_ptr
{
struct in namespace:PR7055
230
auto_ptr
(
auto_ptr
&);
231
auto_ptr
(auto_ptr_ref);
232
explicit
auto_ptr
(int *);
238
X(
auto_ptr
);
242
X x(
auto_ptr
(new int));
243
return X(
auto_ptr
(new int));
246
auto_ptr
foo()
[
all
...]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/
auto_ptr_Y.pass.cpp
14
// template<class Y> shared_ptr& operator=(
auto_ptr
<Y>&& r);
46
std::
auto_ptr
<A> pA(new A);
63
std::
auto_ptr
<A> pA;
80
std::
auto_ptr
<A> pA(new A);
97
std::
auto_ptr
<A> pA;
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/
auto_pointer.pass.cpp
19
// template <class U> explicit unique_ptr(
auto_ptr
<U>&);
46
std::
auto_ptr
<B> ap(p);
57
std::
auto_ptr
<B> ap(p);
auto_pointer01.fail.cpp
19
// template <class U> explicit unique_ptr(
auto_ptr
<U>&);
46
std::
auto_ptr
<B> ap(p);
57
std::
auto_ptr
<B> ap(p);
Completed in 375 milliseconds
1
2
3