[#SettingTo-02]
= SettingTo
:mrdocs:

Convert a settings value to an optional integer&period;

== Synopsis

Declared in `&lt;common&sol;args&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;std::integral Int&gt;
std::optional&lt;Int&gt;
SettingTo(xref:common/SettingsValue.adoc[common::SettingsValue] const& value);
----

== Return Value

The integer value, or std&colon;&colon;nullopt when unset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| The settings value to convert&period;
|===


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