Returns the reflection handle corresponding to specified Abseil Flag instance. Use this handle to access flag's reflection information, like name, location, default value etc.
Declared in <absl/flags/flag.h>
template<typename T>
CommandLineFlag const&
GetFlagReflectionHandle(absl::Flag<T> const& f);
Example:
std::string = absl::GetFlagReflectionHandle(FLAGS_count).DefaultValue();
The reflection handle for f.
| Name | Description |
|---|---|
| f | The flag whose reflection handle to retrieve. |