| 19 | { |
| 20 | public: |
| 21 | MyOptionalString() : valid_(false) {} |
| 22 | MyOptionalString(const std::string& str) : valid_(true), str_(str) {} |
| 23 | void set(const std::string& str) { valid_ = true; str_ = str; } |
| 24 | void reset() { valid_ = false; str_.clear(); } |
nothing calls this directly
no outgoing calls
no test coverage detected