[#SettingToString-0b]
= SettingToString
:mrdocs:

Convert a settings value to a string, using a default when unset&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
SettingToString(
    xref:common/SettingsValue.adoc[common::SettingsValue] const& value,
    std::string const& default&lowbar;value);
----

== Return Value

The string value, or the provided default when unset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| The settings value to convert&period;
| *default&lowbar;value*
| Value returned when the setting is unset&period;
|===


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