Default customization-point implementation of accessAttribute by name.
Declared in <bdlat_sequencefunctions.h>
template<
class TYPE,
class ACCESSOR>
int
bdlat_sequenceAccessAttribute(
TYPE const& object,
ACCESSOR& accessor,
char const* attributeName,
int attributeNameLength);
non-zero if the attribute is not found, and the value from accessor otherwise
| Name | Description |
|---|---|
| object | sequence whose attribute is accessed |
| accessor | callable invoked with the attribute and its info |
| attributeName | name of the attribute to access |
| attributeNameLength | length of attributeName |