MCPcopy Create free account
hub / github.com/deeptir18/cornflakes / stringToNumber

Method stringToNumber

include/cereal/archives/json.hpp:702–702  ·  view source on GitHub ↗

Convert a string to a long long

Source from the content-addressed store, hash-verified

700 private:
701 //! Convert a string to a long long
702 void stringToNumber( std::string const & str, long long & val ) { val = std::stoll( str ); }
703 //! Convert a string to an unsigned long long
704 void stringToNumber( std::string const & str, unsigned long long & val ) { val = std::stoull( str ); }
705 //! Convert a string to a long double

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected