[#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`. `TYPE` shall be CopyConstructible. If `TYPE` is a value‐semantic type, then this class will also be value semantic. Objects of this type are implicitly convertible to and from objects of the specified `TYPE`. == Synopsis Declared in `<bsltf_convertiblevaluewrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> 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`. | xref:BloombergLP/bsltf/ConvertibleValueWrapper/2conversion-00.adoc[`operator TYPE&`] | Return a reference to the (modifiable) wrapped value. | xref:BloombergLP/bsltf/ConvertibleValueWrapper/2conversion-0a.adoc[`operator TYPE const&`] | Return a reference to the (non‐modifiable) wrapped value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#