Return a 64‐bit integer argument or default value.

Synopsis

Declared in <common/args.h>

[[requires_capability(0x7f2e381ad868)]]
int64_t
GetIntArg(
    std::string const& strArg,
    int64_t nDefault) const;

Return Value

The argument value, or nDefault if unset.

Parameters

Name

Description

strArg

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

nDefault

Value returned when the argument is unset.

Created with MrDocs