absl::AbslUnparseFlag

AbslUnparseFlag overloads

Synopses

Declared in <absl/flags/marshalling.h>

Unparses a Duration value into a command-line string representation using the format specified by absl::ParseDuration().

std::string
AbslUnparseFlag(Duration d);
» more...

Unparses an absl::LogSeverity flag value. See base/log_severity.h for the full documentation.

std::string
AbslUnparseFlag(absl::LogSeverity severity);
» more...

Unparses a Time value into a command-line string representation using the format specified by absl::ParseTime().

std::string
AbslUnparseFlag(Time t);
» more...

Return Value

  • The command-line string representation of d.
  • The string representation of the flag value.
  • The command-line string representation of t.

Parameters

NameDescription
dThe duration to unparse.
severityThe value to unparse.
tThe time to unparse.