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 D | move_pair.pass.cpp | 42 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 D | convert_move.pass.cpp | 68 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 D | counted.h | 23 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 D | ranges_uninitialized_move.pass.cpp | 249 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()
|