[#absl-optional_ref-0c-as_pointer]
= xref:absl.adoc[absl]::xref:absl/optional_ref-0c.adoc[optional&lowbar;ref]::as&lowbar;pointer
:relfileprefix: ../../
:mrdocs:

Represents the `optional&lowbar;ref` as a `T&ast;` pointer&period;

== Synopsis

Declared in `&lt;absl&sol;types&sol;optional&lowbar;ref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
T*
as&lowbar;pointer() const;
----

== Return Value

The underlying pointer, or null if empty&period;


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