[#absl-GetFlagReflectionHandle]
= xref:absl.adoc[absl]::GetFlagReflectionHandle
:relfileprefix: ../
:mrdocs:

Returns the reflection handle corresponding to specified Abseil Flag instance&period; Use this handle to access flag&apos;s reflection information, like name, location, default value etc&period;

== Synopsis

Declared in `&lt;absl&sol;flags&sol;flag&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
xref:absl/CommandLineFlag.adoc[CommandLineFlag] const&
GetFlagReflectionHandle(xref:absl/Flag.adoc[absl::Flag&lt;T&gt;] const& f);
----

== Description

Example&colon;

std&colon;&colon;string &equals; absl&colon;&colon;GetFlagReflectionHandle(FLAGS&lowbar;count)&period;DefaultValue()&semi;

== Return Value

The reflection handle for `f`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *f*
| The flag whose reflection handle to retrieve&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
