[#BloombergLP-bslstl-Optional_Base-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Optional_Base-05.adoc[Optional&lowbar;Base]&lt;t&lowbar;TYPE, false&gt;
:relfileprefix: ../../
:mrdocs:

Specialization of `Optional&lowbar;Base` for `value&lowbar;type` that is not allocator&hyphen;aware when `std&colon;&colon;optional` is available&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;
class xref:BloombergLP/bslstl/Optional_Base-05.adoc[Optional&lowbar;Base]&lt;t&lowbar;TYPE, false&gt;
    : public std::optional&lt;t&lowbar;TYPE&gt;
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `std::optional&lt;t&lowbar;TYPE&gt;`
| Class template for optional values&period;
|===

== Member Functions

[cols="1"]
|===
| Name
| xref:BloombergLP/bslstl/Optional_Base-08/2conversion-0a.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;Optional&lowbar;Base, IsBitwiseCopyable, BloombergLP&colon;&colon;bslmf&colon;&colon;IsBitwiseCopyable&lt;t&lowbar;TYPE&gt;&colon;&colon;value&gt;`] 
| xref:BloombergLP/bslstl/Optional_Base-08/2conversion-01.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;Optional&lowbar;Base, IsBitwiseMoveable, BloombergLP&colon;&colon;bslmf&colon;&colon;IsBitwiseMoveable&lt;t&lowbar;TYPE&gt;&colon;&colon;value&gt;`] 
|===


== Protected Types

[cols="1"]
|===
| Name
| xref:BloombergLP/bslstl/Optional_Base-08/AllocType.adoc[`AllocType`] 
|===


== Protected Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/Optional_Base-08/2constructor-01.adoc[`Optional&lowbar;Base`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bslstl/Optional_Base-08/assignOrEmplace.adoc[`assignOrEmplace`] 
| If `&ast;this` holds an object, assign to that object the value of the specified `rhs`, converted to `t&lowbar;TYPE`&period; Otherwise, construct a held object from `rhs`, converted to `t&lowbar;TYPE`&period;
| xref:BloombergLP/bslstl/Optional_Base-08/dereferenceRaw-0c.adoc[`dereferenceRaw`] 
| `dereferenceRaw` overloads
|===



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