SettingToString overloads
Declared in <common/args.h>
Convert a settings value to an optional string.
std::optional<std::string>
SettingToString(common::SettingsValue const& value);
» more...
Convert a settings value to a string, using a default when unset.
std::string
SettingToString(
common::SettingsValue const& value,
std::string const& default_value);
» more...
| Name | Description |
|---|---|
| value | The settings value to convert. |
| default_value | Value returned when the setting is unset. |