|
BDE 4.39.x Production Release
|
#include <bsltf_convertiblevaluewrapper.h>
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.
Public Member Functions | |
| ConvertibleValueWrapper (const TYPE &value) | |
| operator TYPE & () | |
| operator const TYPE & () const | |
|
inline |
Create an object wrapping the specified value.
|
inline |
Return a reference to the (non-modifiable) wrapped value.
|
inline |
Return a reference to the (modifiable) wrapped value.