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