Lines Matching refs:exchange
126 head{std::exchange(other.head, nullptr)},
127 tail{std::exchange(other.tail, nullptr)},
128 len{std::exchange(other.len, 0)},
129 mark{std::exchange(other.mark, nullptr)},
130 mark_pos{std::exchange(other.mark_pos, nullptr)},
131 mark_offset{std::exchange(other.mark_offset, 0)} {}
141 head = std::exchange(other.head, nullptr);
142 tail = std::exchange(other.tail, nullptr);
143 len = std::exchange(other.len, 0);
144 mark = std::exchange(other.mark, nullptr);
145 mark_pos = std::exchange(other.mark_pos, nullptr);
146 mark_offset = std::exchange(other.mark_offset, 0);
438 cur{std::exchange(other.cur, nullptr)},
439 cur_pos{std::exchange(other.cur_pos, nullptr)},
440 cur_last{std::exchange(other.cur_last, nullptr)},
441 len{std::exchange(other.len, 0)},
442 peeking{std::exchange(other.peeking, true)} {}
450 cur = std::exchange(other.cur, nullptr);
451 cur_pos = std::exchange(other.cur_pos, nullptr);
452 cur_last = std::exchange(other.cur_last, nullptr);
453 len = std::exchange(other.len, 0);
454 peeking = std::exchange(other.peeking, true);