[#BloombergLP-bslstl-optional_acceptsStdOptional]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::optional&lowbar;acceptsStdOptional
:relfileprefix: ../../
:mrdocs:

Component&hyphen;private constraint helper for `Optional&lowbar;DerivedFromStdOptional`&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;
void
optional&lowbar;acceptsStdOptional(std::optional&lt;t&lowbar;TYPE&gt; const&);
----


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