Return a 64‐bit integer argument, or std::nullopt if it was not set.

Synopsis

Declared in <common/args.h>

[[requires_capability(0x7f2e381ad9a8)]]
std::optional<int64_t>
GetIntArg(std::string const& strArg) const;

Return Value

The argument value, or std::nullopt if unset.

Parameters

Name

Description

strArg

Argument to get (e.g. "‐foo").

Created with MrDocs