| H A D | string.cpp | 189 inline V as_float(const string& func, const S& s, size_t* idx = nullptr); 192 inline float as_float(const string& func, const string& s, size_t* idx) { in as_float() function 197 inline double as_float(const string& func, const string& s, size_t* idx) { in as_float() function 208 inline float as_float(const string& func, const wstring& s, size_t* idx) { in as_float() function 213 inline double as_float(const string& func, const wstring& s, size_t* idx) { in as_float() function 246 return as_float<float>("stof", str, idx); in stof() 250 return as_float<double>("stod", str, idx); in stod() 254 return as_float<long double>("stold", str, idx); in stold() 279 return as_float<float>("stof", str, idx); in stof() 283 return as_float<double>("stod", str, idx); in stod() [all …]
|