Home
last modified time | relevance | path

Searched refs:moved_from (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/
H A Dmove_pair.pass.cpp42 TrackMove() : value(0), moved_from(false) { } in TrackMove()
43 explicit TrackMove(int v) : value(v), moved_from(false) { } in TrackMove()
46 other.moved_from = true; in TrackMove()
50 moved_from = false; in operator =()
55 moved_from = false; in operator =()
56 other.moved_from = true; in operator =()
61 bool moved_from; member
172 assert(!track.moved_from); in main()
176 assert(!track.moved_from); in main()
189 assert(track.moved_from); in main()
[all …]
H A Dconvert_move.pass.cpp68 TrackMove() : value(0), moved_from(false) { } in TrackMove()
69 explicit TrackMove(int v) : value(v), moved_from(false) { } in TrackMove()
72 other.moved_from = true; in TrackMove()
76 moved_from = false; in operator =()
81 moved_from = false; in operator =()
82 other.moved_from = true; in operator =()
87 bool moved_from; member
229 assert(!track.moved_from); in main()
233 assert(!track.moved_from); in main()
246 assert(track.moved_from); in main()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/
H A Dcounted.h23 bool moved_from = false; member
53 rhs.moved_from = true; in Counted()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/
H A Dranges_uninitialized_move.pass.cpp249 assert(std::all_of(in, in + 1, [](const auto& e) { return e.moved_from; })); in main()
250 assert(std::none_of(in + N, in + 5, [](const auto& e) { return e.moved_from; })); in main()
275 assert(std::all_of(in, in + 1, [](const auto& e) { return e.moved_from; })); in main()
276 assert(std::none_of(in + N, in + 5, [](const auto& e) { return e.moved_from; })); in main()