access overloads

Synopses

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;

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;

Return Value

value from the invocation of accessor

Parameters

Name

Description

accessor

callable invoked on the held value

info

additional information passed to accessor

Created with MrDocs