Return integer argument, or std::nullopt if it was not set.
Synopsis
Declared in <common/args.h>
template<std::integral Int>
[[requires_capability(0x7f2e381ad728)]]
std::optional<Int>
GetArg(std::string const& strArg) const;
Return Value
The integer value, or std::nullopt if unset.
Parameters
Name |
Description |
strArg |
Argument to get (e.g. "‐foo"). |
Created with MrDocs