[#bsl-optional-0d]
= xref:bsl.adoc[bsl]::xref:bsl/optional-072.adoc[optional&lt;t&lowbar;TYPE&gt;]
:relfileprefix: ../
:mrdocs:

Deduce the specified type `t&lowbar;TYPE` from the corresponding type supplied to the constructor of `optional`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;optional&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
xref:bsl/optional-072.adoc[optional&lt;t&lowbar;TYPE&gt;](t&lowbar;TYPE) -> xref:bsl/optional-072.adoc[optional&lt;t&lowbar;TYPE&gt;];
----


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