MCPcopy Create free account
hub / github.com/comaps/comaps / Set

Method Set

libs/coding/value_opt_string.hpp:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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(); }

Callers 1

TestStringCodingTFunction · 0.45

Calls 1

emptyMethod · 0.45

Tested by 1

TestStringCodingTFunction · 0.36