BloombergLP::bdlat_SequenceFunctions::bdlat_sequenceHasAttribute

Default customization-point implementation of hasAttribute by name.

Synopsis

Declared in <bdlat_sequencefunctions.h>

template<class TYPE>
bool
bdlat_sequenceHasAttribute(
    TYPE const& object,
    char const* attributeName,
    int attributeNameLength);

Return Value

true if object has the named attribute, and false otherwise

Parameters

NameDescription
objectsequence to query for the attribute
attributeNamename of the attribute to look up
attributeNameLengthlength of attributeName