|
BDE 4.39.x Production Release
|
#include <bslstl_variant.h>
This component-private class manages an object of type (template parameter) t_TYPE that is stored in a variant object.
t_TYPE may be const-qualified, in which case the internally stored object is not const, but the interface of this class prevents modification thereof.See bslstl_variant
Public Member Functions | |
| Variant_DataImp ()=default | |
| t_TYPE & | value () |
| const t_TYPE & | value () const |
|
default |
Create a Variant_DataImp object that holds an empty buffer.
|
inline |
Return a reference to the stored t_TYPE object.
t_TYPE object (i.e., the enclosing bsl::variant has an active alternative of type t_TYPE).
|
inline |
Return a const reference to the stored t_TYPE object.
t_TYPE object (i.e., the enclosing bsl::variant has an active alternative of type t_TYPE).