Lines Matching refs:as_float
150 // as_float
170 inline V as_float(const string& func, const S& s, size_t* idx = nullptr);
173 inline float as_float(const string& func, const string& s, size_t* idx) {
178 inline double as_float(const string& func, const string& s, size_t* idx) {
183 inline long double as_float(const string& func, const string& s, size_t* idx) {
189 inline float as_float(const string& func, const wstring& s, size_t* idx) {
194 inline double as_float(const string& func, const wstring& s, size_t* idx) {
199 inline long double as_float(const string& func, const wstring& s, size_t* idx) {
220 float stof(const string& str, size_t* idx) { return as_float<float>("stof", str, idx); }
222 double stod(const string& str, size_t* idx) { return as_float<double>("stod", str, idx); }
224 long double stold(const string& str, size_t* idx) { return as_float<long double>("stold", str, idx); }
241 float stof(const wstring& str, size_t* idx) { return as_float<float>("stof", str, idx); }
243 double stod(const wstring& str, size_t* idx) { return as_float<double>("stod", str, idx); }
245 long double stold(const wstring& str, size_t* idx) { return as_float<long double>("stold", str, idx); }