access overloads
Declared in <bdlar_simpletyperef.h>
Invoke the specified accessor on the value held by this object.
template<class t_ACCESSOR>
int
access(t_ACCESSOR& accessor) const;
» more...
Invoke the specified accessor on the value held by this object with the specified info.
template<
class t_ACCESSOR,
class t_INFO>
int
access(
t_ACCESSOR& accessor,
t_INFO const& info) const;
» more...
value from the invocation of accessor
| Name | Description |
|---|---|
| accessor | callable invoked on the held value |
| info | additional information passed to accessor |