absl::UnparseFlag

UnparseFlag overloads

Synopses

Declared in <absl/flags/marshalling.h>

Deprecated. Use AbslUnparseFlag() instead.

[[deprecated("Use AbslUnparseFlag() instead.")]]
std::string
UnparseFlag(Duration d);
» more...

Unparses a flag value of type T into a string value. Do not add overloads of this function for your type directly; instead, add an AbslUnparseFlag() free function as documented above.

template<typename T>
std::string
UnparseFlag(T const& v);
» more...

Return Value

  • The command-line string representation of d.
  • The string representation of v.

Parameters

NameDescription
dThe duration to unparse.
vThe value to unparse.