MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / atot_scalar

Function atot_scalar

native/thirdpart/flatbuffers/idl_parser.cpp:193–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191// atot: template version of atoi/atof: convert a string to an instance of T.
192template<typename T>
193bool atot_scalar(const char *s, T *val, bool_constant<false>) {
194 return StringToNumber(s, val);
195}
196
197template<typename T>
198bool atot_scalar(const char *s, T *val, bool_constant<true>) {

Callers 1

atotFunction · 0.85

Calls 1

StringToNumberFunction · 0.85

Tested by

no test coverage detected