SettingToString

Convert a settings value to an optional string.

Synopsis

Declared in <common/args.h>

std::optional<std::string>
SettingToString(common::SettingsValue const& value);

Return Value

The string value, or std::nullopt when unset.

Parameters

NameDescription
valueThe settings value to convert.