Lines Matching defs:str
69 inline V as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) {
71 const typename S::value_type* const p = str.c_str();
153 inline V as_float_helper(const string& func, const S& str, size_t* idx, F f) {
155 const typename S::value_type* const p = str.c_str();
206 int stoi(const string& str, size_t* idx, int base) { return as_integer<int>("stoi", str, idx, base); }
208 long stol(const string& str, size_t* idx, int base) { return as_integer<long>("stol", str, idx, base); }
210 unsigned long stoul(const string& str, size_t* idx, int base) {
211 return as_integer<unsigned long>("stoul", str, idx, base);
214 long long stoll(const string& str, size_t* idx, int base) { return as_integer<long long>("stoll", str, idx, base); }
216 unsigned long long stoull(const string& str, size_t* idx, int base) {
217 return as_integer<unsigned long long>("stoull", str, idx, base);
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); }
227 int stoi(const wstring& str, size_t* idx, int base) { return as_integer<int>("stoi", str, idx, base); }
229 long stol(const wstring& str, size_t* idx, int base) { return as_integer<long>("stol", str, idx, base); }
231 unsigned long stoul(const wstring& str, size_t* idx, int base) {
232 return as_integer<unsigned long>("stoul", str, idx, base);
235 long long stoll(const wstring& str, size_t* idx, int base) { return as_integer<long long>("stoll", str, idx, base); }
237 unsigned long long stoull(const wstring& str, size_t* idx, int base) {
238 return as_integer<unsigned long long>("stoull", str, idx, base);
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); }