Deprecated. Use AbslParseFlag() instead.

Synopsis

Declared in <absl/time/time.h>

[[deprecated("Use AbslParseFlag() instead.")]]
bool
ParseFlag(
    std::string const& text,
    Duration* dst,
    std::string* error);
Warning

Deprecated: Use AbslParseFlag() instead.. Use of this entity is allowed but discouraged.

Return Value

true upon successful parsing.

Parameters

Name

Description

text

The flag string to parse.

dst

Output parameter receiving the parsed duration.

error

Output parameter receiving an error message on failure.

Created with MrDocs