Lines Matching defs:other
69 StringAtom(const StringAtom& other) noexcept : value_(other.value_) {}
70 StringAtom& operator=(const StringAtom& other) noexcept {
71 if (this != &other) {
73 new (this) StringAtom(other);
78 StringAtom(StringAtom&& other) noexcept : value_(other.value_) {}
79 StringAtom& operator=(const StringAtom&& other) noexcept {
80 if (this != &other) {
82 new (this) StringAtom(std::move(other));
99 bool SameAs(const StringAtom& other) const {
100 return &value_ == &other.value_;
104 bool operator==(const StringAtom& other) const {
105 return value_ == other.value_;
108 bool operator!=(const StringAtom& other) const {
109 return value_ != other.value_;
112 bool operator<(const StringAtom& other) const {
114 if (SameAs(other))
117 return value_ < other.value_;
159 // Ensure default heterogeneous lookups with other types like std::string_view.