[#bsl-stoul-07]
= xref:bsl.adoc[bsl]::stoul
:relfileprefix: ../
:mrdocs:

`stoul` overloads

== Synopses

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

Parse the specified `str` as an unsigned long integer&period;


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

[.small]#xref:bsl/stoul-0f.adoc[_» more&period;&period;&period;_]#

Same as `stoul` for `wstring`&period;


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

[.small]#xref:bsl/stoul-06.adoc[_» more&period;&period;&period;_]#


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