Deprecated. Use AbslParseFlag() instead.
Declared in <absl/time/time.h>
[[deprecated("Use AbslParseFlag() instead.")]]
bool
ParseFlag(
std::string const& text,
Duration* dst,
std::string* error);
Deprecated: Use AbslParseFlag() instead.. Use of this entity is allowed but discouraged.
true upon successful parsing.
| Name | Description |
|---|---|
| text | The flag string to parse. |
| dst | Output parameter receiving the parsed duration. |
| error | Output parameter receiving an error message on failure. |