Member access operators

Synopses

Declared in <bslstl_optional.h>

Return a pointer providing modifiable access to the underlying t_TYPE object.

t_TYPE*
operator‐>();

Return a pointer providing non‐modifiable access to the underlying t_TYPE object.

t_TYPE const*
operator‐>() const;

Return Value

  • pointer providing modifiable access to the contained value

  • pointer providing non‐modifiable access to the contained value

Created with MrDocs