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

Method ToInt

libs/coding/value_opt_string.hpp:62–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61private:
62 bool ToInt(uint64_t & n) const
63 {
64 // If string is a number and we have space for control bit
65 return (strings::to_uint64(m_s, n) && ((n << 1) >> 1) == n);
66 }
67
68 std::string m_s;
69};

Callers

nothing calls this directly

Calls 1

to_uint64Function · 0.85

Tested by

no test coverage detected