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.
Declared in <bsltf_convertiblevaluewrapper.h>
template<class TYPE>
struct ConvertibleValueWrapper;
| Name | Description |
|---|---|
ConvertibleValueWrapper [constructor] | Create an object wrapping the specified value. |
operator TYPE& | Return a reference to the (modifiable) wrapped value. |
operator TYPE const& | Return a reference to the (non-modifiable) wrapped value. |