[#BloombergLP-bdlb-NullableAllocatedValue-makeValue-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[NullableAllocatedValue]::makeValue
:relfileprefix: ../../../
:mrdocs:

`makeValue` overloads

== Synopses

Declared in `&lt;bdlb&lowbar;nullableallocatedvalue&period;h&gt;`

Assign to this object the default value for `TYPE`, and return a reference providing modifiable access to the underlying `TYPE` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
TYPE&
xref:BloombergLP/bdlb/NullableAllocatedValue/makeValue-0cf.adoc[makeValue]();
----

[.small]#xref:BloombergLP/bdlb/NullableAllocatedValue/makeValue-0cf.adoc[_» more&period;&period;&period;_]#

Create a value equal to `val` in this nullable object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
TYPE&
xref:BloombergLP/bdlb/NullableAllocatedValue/makeValue-0c1.adoc[makeValue](TYPE const& val);
----

[.small]#xref:BloombergLP/bdlb/NullableAllocatedValue/makeValue-0c1.adoc[_» more&period;&period;&period;_]#

== Return Value

modifiable reference to the created value

== Parameters

[cols="1,4"]
|===
| Name| Description
| *val*
| value to place in this object
|===


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