Lines Matching defs:other
40 ArrayWrapper(const ArrayWrapper& other) { *this = other; }
42 ArrayWrapper(ArrayWrapper&& other) { *this = std::move(other); }
44 ArrayWrapper& operator=(const ArrayWrapper& other) {
45 if (&other == this) {
48 buffer_ = other.buffer_;
49 capacity_ = other.capacity_;
50 end_ = other.end_;
56 ArrayWrapper& operator=(ArrayWrapper&& other) {
57 if (&other == this) {
60 buffer_ = other.buffer_;
61 capacity_ = other.capacity_;
62 end_ = other.end_;
63 other.buffer_ = nullptr;
64 other.capacity_ = 0;
65 other.end_ = 0;