BloombergLP::bdlb::NullableAllocatedValue_PointerBitsPair::readFlag

Return the value of the flag specified by idx. The behavior is undefined unless idx < t_NUM_BITS.

Synopsis

Declared in <bdlb_nullableallocatedvalue_pointerbitspair.h>

bool
readFlag(unsigned int idx) const;

Return Value

true if the flag at idx is set, and false otherwise

Parameters

NameDescription
idxindex of the flag to read