Lines Matching defs:as_integer
66 // as_integer
86 inline V as_integer(const string& func, const S& s, size_t* idx, int base);
90 inline int as_integer(const string& func, const string& s, size_t* idx, int base) {
99 inline long as_integer(const string& func, const string& s, size_t* idx, int base) {
104 inline unsigned long as_integer(const string& func, const string& s, size_t* idx, int base) {
109 inline long long as_integer(const string& func, const string& s, size_t* idx, int base) {
114 inline unsigned long long as_integer(const string& func, const string& s, size_t* idx, int base) {
121 inline int as_integer(const string& func, const wstring& s, size_t* idx, int base) {
130 inline long as_integer(const string& func, const wstring& s, size_t* idx, int base) {
135 inline unsigned long as_integer(const string& func, const wstring& s, size_t* idx, int base) {
140 inline long long as_integer(const string& func, const wstring& s, size_t* idx, int base) {
145 inline unsigned long long as_integer(const string& func, const wstring& s, size_t* idx, int base) {
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); }
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); }
217 return as_integer<unsigned long long>("stoull", str, idx, base);
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); }
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); }
238 return as_integer<unsigned long long>("stoull", str, idx, base);