[#bsl-stoll-0d]
= xref:bsl.adoc[bsl]::stoll
:relfileprefix: ../
:mrdocs:

Same as `stoll` for `string`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
long long
stoll(
    xref:bsl/string.adoc[string] const& str,
    std::size&lowbar;t* pos = 0,
    int base = 10);
----

== Return Value

`long long` value parsed from `str`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| string to parse
| *pos*
| optional output for the index after the parsed value
| *base*
| numeric base for parsing (0 or 2&period;&period;36)
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
