Lines Matching defs:other
301 void CheckComparable(const circular_deque_const_iterator& other) const {
302 DCHECK_EQ(parent_deque_, other.parent_deque_);
307 DCHECK_EQ(created_generation_, other.created_generation_);
432 circular_deque(const circular_deque& other) : buffer_(other.size() + 1) {
433 assign(other.begin(), other.end());
435 circular_deque(circular_deque&& other) noexcept
436 : buffer_(std::move(other.buffer_)),
437 begin_(other.begin_),
438 end_(other.end_) {
439 other.begin_ = 0;
440 other.end_ = 0;
452 circular_deque& operator=(const circular_deque& other) {
453 if (&other == this)
456 reserve(other.size());
457 assign(other.begin(), other.end());
460 circular_deque& operator=(circular_deque&& other) noexcept {
461 if (&other == this)
467 buffer_ = std::move(other.buffer_);
468 begin_ = other.begin_;
469 end_ = other.end_;
471 other.begin_ = 0;
472 other.end_ = 0;
892 void swap(circular_deque& other) {
893 std::swap(buffer_, other.buffer_);
894 std::swap(begin_, other.begin_);
895 std::swap(end_, other.end_);