| 14 | bool operator==(StringNumericOptimal const & rhs) const { return m_s == rhs.m_s; } |
| 15 | |
| 16 | void Set(std::string const & s) |
| 17 | { |
| 18 | CHECK(!s.empty(), ()); |
| 19 | m_s = s; |
| 20 | } |
| 21 | |
| 22 | void Clear() { m_s.clear(); } |
| 23 | bool IsEmpty() const { return m_s.empty(); } |