Lines Matching defs:rhs
38 age(int rhs = 0) : m_val(rhs) {}
44 name(std::string rhs = "") : m_val(std::move(rhs)) {}
50 address(std::string rhs = "") : m_val(std::move(rhs)) {}
136 static bool operator==(age lhs, age rhs)
138 return lhs.m_val == rhs.m_val;
141 static bool operator==(const address& lhs, const address& rhs)
143 return lhs.m_val == rhs.m_val;
146 static bool operator==(const name& lhs, const name& rhs)
148 return lhs.m_val == rhs.m_val;
151 static bool operator==(const person& lhs, const person& rhs)
153 return std::tie(lhs.m_name, lhs.m_age) == std::tie(rhs.m_name, rhs.m_age);
156 static bool operator==(const contact& lhs, const contact& rhs)
159 std::tie(rhs.m_person, rhs.m_address);
162 static bool operator==(const contact_book& lhs, const contact_book& rhs)
165 std::tie(rhs.m_book_name, rhs.m_contacts);
623 static bool operator==(small_pod lhs, small_pod rhs) noexcept
626 std::tie(rhs.begin, rhs.middle, rhs.end);
629 static bool operator==(const non_pod& lhs, const non_pod& rhs) noexcept
631 return lhs.s == rhs.s;