[#absl-ParseFlag-05]
= xref:absl.adoc[absl]::ParseFlag
:relfileprefix: ../
:mrdocs:

Deprecated&period; Use `AbslParseFlag()` instead&period;

== Synopsis

Declared in `&lt;absl&sol;time&sol;time&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated(&quot;Use AbslParseFlag() instead&period;&quot;)&rsqb;&rsqb;
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&period;. Use of this entity is allowed but discouraged.
====
== Return Value

`true` upon successful parsing&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *text*
| The flag string to parse&period;
| *dst*
| Output parameter receiving the parsed duration&period;
| *error*
| Output parameter receiving an error message on failure&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
