[#absl-ParseFlag-09] = xref:absl.adoc[absl]::ParseFlag :relfileprefix: ../ :mrdocs: Parses a string value into a flag value of type `T`. Do not add overloads of this function for your type directly; instead, add an `AbslParseFlag()` free function as documented above. == Synopsis Declared in `<absl/flags/marshalling.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> bool ParseFlag( std::string_view input, T* dst, std::string* error); ---- == Return Value `true` if `input` was successfully parsed into `*dst`. == Parameters [cols="1,4"] |=== | Name| Description | *input* | The string to parse. | *dst* | The destination to store the parsed value in. | *error* | Set to an error message when parsing fails. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#