OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:unique_ptr
(Results
151 - 175
of
247
) sorted by null
1
2
3
4
5
6
7
8
9
10
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/
move01.pass.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move ctor
109
std::
unique_ptr
<A> s(new A);
111
std::
unique_ptr
<A> s2 = std::move(s);
118
std::
unique_ptr
<A, Deleter<A> > s(new A);
120
std::
unique_ptr
<A, Deleter<A> > s2 = std::move(s);
130
std::
unique_ptr
<A, CDeleter&> s(new A, d);
132
std::
unique_ptr
<A, CDeleter&> s2 = std::move(s);
pointer_deleter04.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
(pointer) ctor
19
//
unique_ptr
<T, const D&>(pointer, D()) should not compile
50
std::
unique_ptr
<A, const Deleter&> s(p, Deleter());
auto_pointer.pass.cpp
12
//
unique_ptr
14
// Test
unique_ptr
(pointer) ctor
19
// template <class U> explicit
unique_ptr
(auto_ptr<U>&);
47
std::
unique_ptr
<A> up(std::move(ap));
58
std::
unique_ptr
<A> up;
auto_pointer01.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
(pointer) ctor
19
// template <class U> explicit
unique_ptr
(auto_ptr<U>&);
47
std::
unique_ptr
<A> up(ap);
58
std::
unique_ptr
<A> up;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.assign/
convert_move.pass.cpp
79
typedef std::tuple<double, char, std::
unique_ptr
<D>> T0;
80
typedef std::tuple<int, int, std::
unique_ptr
<B>> T1;
81
T0 t0(2.5, 'a', std::
unique_ptr
<D>(new D(3)));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/
convert_move.pass.cpp
74
typedef std::tuple<double, char, std::
unique_ptr
<D>> T0;
75
typedef std::tuple<int, int, std::
unique_ptr
<B>> T1;
76
T0 t0(2.5, 'a', std::
unique_ptr
<D>(new D(3)));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/
pointer_deleter04.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
(pointer, deleter) ctor
16
//
unique_ptr
<T, const D&>(pointer, D()) should not compile
50
std::
unique_ptr
<A[], const Deleter&> s(p, Deleter());
pointer_deleter05.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
(pointer, deleter) ctor
16
//
unique_ptr
(pointer, deleter) should not work with derived pointers
57
std::
unique_ptr
<A[], Deleter> s(p, Deleter());
move_convert03.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
converting move ctor
65
std::
unique_ptr
<B[], CDeleter<A>&> s(new B, d);
67
std::
unique_ptr
<A[], CDeleter<A>&> s2(s);
move_convert06.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
converting move ctor
65
std::
unique_ptr
<B[], CDeleter<A>&> s(new B, d);
67
std::
unique_ptr
<A[], CDeleter<A>&> s2 = s;
move_convert09.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
converting move ctor
65
const std::
unique_ptr
<B[], CDeleter<A>&> s(new B, d);
67
std::
unique_ptr
<A[], CDeleter<A>&> s2(s);
move_convert12.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
converting move ctor
65
const std::
unique_ptr
<B[], CDeleter<A>&> s(new B, d);
67
std::
unique_ptr
<A[], CDeleter<A>&> s2 = s;
move_convert15.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
converting move ctor
65
std::
unique_ptr
<B[], CDeleter<A>&> s(new B, d);
67
std::
unique_ptr
<A[], CDeleter<A>&> s2(std::move(s));
move_convert18.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
converting move ctor
65
std::
unique_ptr
<B[], CDeleter<A>&> s(new B, d);
67
std::
unique_ptr
<A[], CDeleter<A>&> s2 = std::move(s);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/
index.pass.cpp
12
//
unique_ptr
37
std::
unique_ptr
<A[]> p(new A[3]);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/
index.fail.cpp
12
//
unique_ptr
37
std::
unique_ptr
<A> p(new A[3]);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.special/
swap.pass.cpp
12
//
unique_ptr
41
std::
unique_ptr
<A, Deleter<A> > s1(p1, Deleter<A>(1));
43
std::
unique_ptr
<A, Deleter<A> > s2(p2, Deleter<A>(2));
62
std::
unique_ptr
<A[], Deleter<A[]> > s1(p1, Deleter<A[]>(1));
64
std::
unique_ptr
<A[], Deleter<A[]> > s2(p2, Deleter<A[]>(2));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/
unique_ptr_Y.pass.cpp
14
// template <class Y, class D> shared_ptr& operator=(
unique_ptr
<Y, D>&& r);
46
std::
unique_ptr
<A> pA(new A);
63
std::
unique_ptr
<A> pA;
80
std::
unique_ptr
<A> pA(new A);
97
std::
unique_ptr
<A> pA;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.heap.operations/make.heap/
make_heap_comp.pass.cpp
55
std::
unique_ptr
<int>* ia = new std::
unique_ptr
<int> [N];
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.heap.operations/pop.heap/
pop_heap_comp.pass.cpp
55
std::
unique_ptr
<int>* ia = new std::
unique_ptr
<int> [N];
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.heap.operations/push.heap/
push_heap_comp.pass.cpp
54
std::
unique_ptr
<int>* ia = new std::
unique_ptr
<int> [N];
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.heap.operations/sort.heap/
sort_heap_comp.pass.cpp
56
std::
unique_ptr
<int>* ia = new std::
unique_ptr
<int> [N];
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.modifiers/
reset2.fail.cpp
12
//
unique_ptr
43
std::
unique_ptr
<A[]> p(new A);
54
std::
unique_ptr
<A[]> p(new B);
swap.pass.cpp
12
//
unique_ptr
41
std::
unique_ptr
<A[], Deleter<A[]> > s1(p1, Deleter<A[]>(1));
43
std::
unique_ptr
<A[], Deleter<A[]> > s2(p2, Deleter<A[]>(2));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.asgn/
move_convert03.pass.cpp
12
//
unique_ptr
14
// Test
unique_ptr
converting move assignment
48
std::
unique_ptr
<B, CDeleter<B>&> s(new B, db);
51
std::
unique_ptr
<A, CDeleter<A>&> s2(new A, da);
Completed in 1011 milliseconds
1
2
3
4
5
6
7
8
9
10