Convert a settings value to an optional integer.
Declared in <common/args.h>
template<std::integral Int>
std::optional<Int>
SettingTo(common::SettingsValue const& value);
The integer value, or std::nullopt when unset.
| Name | Description |
|---|---|
| value | The settings value to convert. |