Lines Matching defs:other
45 StringWrapper(const StringWrapper& other) { *this = other; }
47 StringWrapper(StringWrapper&& other) { *this = std::move(other); }
49 StringWrapper& operator=(const StringWrapper& other) {
50 if (&other == this) {
53 buffer_ = other.buffer_;
54 capacity_ = other.capacity_;
55 end_ = other.end_;
61 StringWrapper& operator=(StringWrapper&& other) {
62 if (&other == this) {
65 buffer_ = other.buffer_;
66 capacity_ = other.capacity_;
67 end_ = other.end_;
68 other.buffer_ = nullptr;
69 other.capacity_ = 0;
70 other.end_ = 0;