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

Component&hyphen;private constraint helper for `Optional&lowbar;DerivedFromBslOptional`&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;acceptsBslOptional(xref:bsl/optional-072.adoc[bsl::optional&lt;t&lowbar;TYPE&gt;] const& value);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| value compared with or used to initialize the optional
|===


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