/external/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/ |
UTypes.fail.cpp | 25 class MoveOnly 27 MoveOnly(const MoveOnly&); 28 MoveOnly& operator=(const MoveOnly&); 32 explicit MoveOnly(int data = 1) : data_(data) {} 33 MoveOnly(MoveOnly&& x) 35 MoveOnly& operator=(MoveOnly&& x [all...] |
UTypes.pass.cpp | 20 #include "../MoveOnly.h" 36 std::tuple<MoveOnly> t(MoveOnly(0)); 40 std::tuple<MoveOnly, MoveOnly> t(MoveOnly(0), MoveOnly(1)); 45 std::tuple<MoveOnly, MoveOnly, MoveOnly> t(MoveOnly(0) [all...] |
/external/libcxx/test/containers/ |
MoveOnly.h | 18 class MoveOnly 20 MoveOnly(const MoveOnly&); 21 MoveOnly& operator=(const MoveOnly&); 25 MoveOnly(int data = 1) : data_(data) {} 26 MoveOnly(MoveOnly&& x) 28 MoveOnly& operator=(MoveOnly&& x [all...] |
/external/libcxx/test/utilities/tuple/tuple.tuple/ |
MoveOnly.h | 18 class MoveOnly 20 MoveOnly(const MoveOnly&); 21 MoveOnly& operator=(const MoveOnly&); 25 MoveOnly(int data = 1) : data_(data) {} 26 MoveOnly(MoveOnly&& x) 28 MoveOnly& operator=(MoveOnly&& x [all...] |
/external/libcxx/test/containers/container.adaptors/queue/queue.defn/ |
push_rv.pass.cpp | 17 #include "../../../MoveOnly.h" 22 std::queue<MoveOnly> q; 23 q.push(MoveOnly(1)); 25 assert(q.front() == MoveOnly(1)); 26 assert(q.back() == MoveOnly(1)); 27 q.push(MoveOnly(2)); 29 assert(q.front() == MoveOnly(1)); 30 assert(q.back() == MoveOnly(2)); 31 q.push(MoveOnly(3)); 33 assert(q.front() == MoveOnly(1)) [all...] |
/external/libcxx/test/containers/sequences/list/list.cons/ |
move_alloc.pass.cpp | 16 #include "../../../MoveOnly.h" 24 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); 25 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); 31 std::list<MoveOnly, test_allocator<MoveOnly> > l2(std::move(l), test_allocator<MoveOnly>(6)) [all...] |
assign_move.pass.cpp | 16 #include "../../../MoveOnly.h" 24 std::list<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); 25 std::list<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); 31 std::list<MoveOnly, test_allocator<MoveOnly> > l2(test_allocator<MoveOnly>(5)) [all...] |
/external/libcxx/test/containers/sequences/vector/vector.cons/ |
move_alloc.pass.cpp | 16 #include "../../../MoveOnly.h" 24 std::vector<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); 25 std::vector<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); 31 std::vector<MoveOnly, test_allocator<MoveOnly> > l2(std::move(l), test_allocator<MoveOnly>(6)) [all...] |
assign_move.pass.cpp | 16 #include "../../../MoveOnly.h" 24 std::vector<MoveOnly, test_allocator<MoveOnly> > l(test_allocator<MoveOnly>(5)); 25 std::vector<MoveOnly, test_allocator<MoveOnly> > lo(test_allocator<MoveOnly>(5)); 31 std::vector<MoveOnly, test_allocator<MoveOnly> > l2(test_allocator<MoveOnly>(5)) [all...] |
/external/libcxx/test/containers/container.adaptors/stack/stack.defn/ |
push_rv.pass.cpp | 17 #include "../../../MoveOnly.h" 22 std::stack<MoveOnly> q; 23 q.push(MoveOnly(1)); 25 assert(q.top() == MoveOnly(1)); 26 q.push(MoveOnly(2)); 28 assert(q.top() == MoveOnly(2)); 29 q.push(MoveOnly(3)); 31 assert(q.top() == MoveOnly(3));
|
/external/libcxx/test/containers/unord/unord.map/unord.map.cnstr/ |
default_noexcept.pass.cpp | 23 #include "../../../MoveOnly.h" 47 typedef std::unordered_map<MoveOnly, MoveOnly> C; 51 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly>, 52 std::equal_to<MoveOnly>, test_allocator<std::pair<const MoveOnly, MoveOnly>>> C; 56 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly> [all...] |
dtor_noexcept.pass.cpp | 17 #include "../../../MoveOnly.h" 44 typedef std::unordered_map<MoveOnly, MoveOnly> C; 48 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly>, 49 std::equal_to<MoveOnly>, test_allocator<std::pair<const MoveOnly, MoveOnly>>> C; 53 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly> [all...] |
move_assign_noexcept.pass.cpp | 23 #include "../../../MoveOnly.h" 46 typedef std::unordered_map<MoveOnly, MoveOnly> C; 50 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly>, 51 std::equal_to<MoveOnly>, test_allocator<std::pair<const MoveOnly, MoveOnly>>> C; 55 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly> [all...] |
move_noexcept.pass.cpp | 21 #include "../../../MoveOnly.h" 43 typedef std::unordered_map<MoveOnly, MoveOnly> C; 47 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly>, 48 std::equal_to<MoveOnly>, test_allocator<std::pair<const MoveOnly, MoveOnly>>> C; 52 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly> [all...] |
/external/libcxx/test/containers/unord/unord.map/unord.map.swap/ |
swap_noexcept.pass.cpp | 21 #include "../../../MoveOnly.h" 45 typedef std::unordered_map<MoveOnly, MoveOnly> C; 50 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly>, 51 std::equal_to<MoveOnly>, test_allocator<std::pair<const MoveOnly, MoveOnly>>> C; 56 typedef std::unordered_map<MoveOnly, MoveOnly, std::hash<MoveOnly> [all...] |
/external/libcxx/test/containers/unord/unord.multimap/unord.multimap.cnstr/ |
default_noexcept.pass.cpp | 23 #include "../../../MoveOnly.h" 47 typedef std::unordered_multimap<MoveOnly, MoveOnly> C; 51 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, 52 std::equal_to<MoveOnly>, test_allocator<std::pair<const MoveOnly, MoveOnly>>> C; 56 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly> [all...] |
dtor_noexcept.pass.cpp | 17 #include "../../../MoveOnly.h" 44 typedef std::unordered_multimap<MoveOnly, MoveOnly> C; 48 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, 49 std::equal_to<MoveOnly>, test_allocator<std::pair<const MoveOnly, MoveOnly>>> C; 53 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly> [all...] |
move_assign_noexcept.pass.cpp | 23 #include "../../../MoveOnly.h" 46 typedef std::unordered_multimap<MoveOnly, MoveOnly> C; 50 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, 51 std::equal_to<MoveOnly>, test_allocator<std::pair<const MoveOnly, MoveOnly>>> C; 55 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly> [all...] |
move_noexcept.pass.cpp | 21 #include "../../../MoveOnly.h" 43 typedef std::unordered_multimap<MoveOnly, MoveOnly> C; 47 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, 48 std::equal_to<MoveOnly>, test_allocator<std::pair<const MoveOnly, MoveOnly>>> C; 52 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly> [all...] |
/external/libcxx/test/containers/unord/unord.multimap/unord.multimap.swap/ |
swap_noexcept.pass.cpp | 21 #include "../../../MoveOnly.h" 45 typedef std::unordered_multimap<MoveOnly, MoveOnly> C; 50 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly>, 51 std::equal_to<MoveOnly>, test_allocator<std::pair<const MoveOnly, MoveOnly>>> C; 56 typedef std::unordered_multimap<MoveOnly, MoveOnly, std::hash<MoveOnly> [all...] |
/external/libcxx/test/containers/associative/map/map.cons/ |
default_noexcept.pass.cpp | 23 #include "../../../MoveOnly.h" 37 typedef std::map<MoveOnly, MoveOnly> C; 41 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; 45 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C [all...] |
dtor_noexcept.pass.cpp | 17 #include "../../../MoveOnly.h" 35 typedef std::map<MoveOnly, MoveOnly> C; 39 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; 43 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C [all...] |
move_assign_noexcept.pass.cpp | 23 #include "../../../MoveOnly.h" 37 typedef std::map<MoveOnly, MoveOnly> C; 41 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; 45 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C [all...] |
move_noexcept.pass.cpp | 21 #include "../../../MoveOnly.h" 35 typedef std::map<MoveOnly, MoveOnly> C; 39 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; 43 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C [all...] |
/external/libcxx/test/containers/associative/map/map.special/ |
swap_noexcept.pass.cpp | 21 #include "../../../MoveOnly.h" 40 typedef std::map<MoveOnly, MoveOnly> C; 45 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; 50 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C [all...] |