[#absl-ParseFlag-05] = xref:absl.adoc[absl]::ParseFlag :relfileprefix: ../ :mrdocs: Deprecated. Use `AbslParseFlag()` instead. == Synopsis Declared in `<absl/time/time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated("Use AbslParseFlag() instead.")]] bool ParseFlag( std::string const& text, xref:absl/Duration.adoc[Duration]* dst, std::string* error); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: Use AbslParseFlag() instead.. Use of this entity is allowed but discouraged. ==== == Return Value `true` upon successful parsing. == Parameters [cols="1,4"] |=== | Name| Description | *text* | The flag string to parse. | *dst* | Output parameter receiving the parsed duration. | *error* | Output parameter receiving an error message on failure. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#