Home | History | Annotate | Download | only in string.conversions

Lines Matching refs:stoull

15 // unsigned long long stoull(const string& str, size_t *idx = 0, int base = 10);
16 // unsigned long long stoull(const wstring& str, size_t *idx = 0, int base = 10);
23 assert(std::stoull("0") == 0);
24 assert(std::stoull(L"0") == 0);
25 assert(std::stoull("-0") == 0);
26 assert(std::stoull(L"-0") == 0);
27 assert(std::stoull(" 10") == 10);
28 assert(std::stoull(L" 10") == 10);
30 assert(std::stoull("10g", &idx, 16) == 16);
33 assert(std::stoull(L"10g", &idx, 16) == 16);
38 std::stoull("", &idx);
48 std::stoull(L"", &idx);
57 std::stoull(" - 8", &idx);
66 std::stoull(L" - 8", &idx);
75 std::stoull("a1", &idx);
84 std::stoull(L"a1", &idx);
94 std::stoull("9999999999999999999999999999999999999999999999999", &idx);
103 std::stoull(L"9999999999999999999999999999999999999999999999999", &idx);