[#absl-AbslParseFlag-00] = xref:absl.adoc[absl]::AbslParseFlag :relfileprefix: ../ :mrdocs: `AbslParseFlag` overloads == Synopses Declared in `<absl/flags/marshalling.h>` Parses a command‐line flag string representation `text` into a Duration value. Duration flags must be specified in a format that is valid input for `absl::ParseDuration()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:absl/AbslParseFlag-03.adoc[AbslParseFlag]( std::string_view text, xref:absl/Duration.adoc[Duration]* dst, std::string* error); ---- [.small]#xref:absl/AbslParseFlag-03.adoc[_» more..._]# Parses an `absl::LogSeverity` flag value. See `base/log_severity.h` for the full documentation. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:absl/AbslParseFlag-05.adoc[AbslParseFlag]( std::string_view text, xref:absl/LogSeverity.adoc[absl::LogSeverity]* dst, std::string* err); ---- [.small]#xref:absl/AbslParseFlag-05.adoc[_» more..._]# Parses the command‐line flag string representation `text` into a Time value. Time flags must be specified in a format that matches absl::RFC3339_full. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:absl/AbslParseFlag-06.adoc[AbslParseFlag]( std::string_view text, xref:absl/Time.adoc[Time]* t, std::string* error); ---- [.small]#xref:absl/AbslParseFlag-06.adoc[_» more..._]# == Return Value * `true` upon successful parsing. * `true` if the value was successfully parsed. == 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. | *err* | Output parameter that receives an error message on failure. | *t* | Output parameter receiving the parsed time. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#