Invoke the specified accessor on the attribute of the specified ref identified by the specified attributeId. Return the value from the invocation of accessor.
Declared in <bdlar_sequenceref.h>
template<class t_ACCESSOR>
int
bdlat_sequenceAccessAttribute(
SequenceConstRef const& ref,
t_ACCESSOR& accessor,
int attributeId);
value from the invocation of accessor
| Name | Description |
|---|---|
| ref | sequence reference to access |
| accessor | callable invoked on the attribute |
| attributeId | id of the attribute |