[#BloombergLP-bsltf-ConvertibleValueWrapper]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::ConvertibleValueWrapper
:relfileprefix: ../../
:mrdocs:

This class provides a wrapper around an object of the specified (template parameter) `TYPE`&period; `TYPE` shall be CopyConstructible&period; If `TYPE` is a value&hyphen;semantic type, then this class will also be value semantic&period; Objects of this type are implicitly convertible to and from objects of the specified `TYPE`&period;

== Synopsis

Declared in `&lt;bsltf&lowbar;convertiblevaluewrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
struct ConvertibleValueWrapper;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsltf/ConvertibleValueWrapper/2constructor.adoc[`ConvertibleValueWrapper`]         [.small]#[constructor]#
| Create an object wrapping the specified `value`&period;
| xref:BloombergLP/bsltf/ConvertibleValueWrapper/2conversion-00.adoc[`operator TYPE&`] 
| Return a reference to the (modifiable) wrapped value&period;
| xref:BloombergLP/bsltf/ConvertibleValueWrapper/2conversion-0a.adoc[`operator TYPE const&`] 
| Return a reference to the (non&hyphen;modifiable) wrapped value&period;
|===



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