[#BloombergLP-bdlb-NullableAllocatedValue_PointerBitsPair-readFlag] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableAllocatedValue_PointerBitsPair.adoc[NullableAllocatedValue_PointerBitsPair]::readFlag :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool readFlag(unsigned int idx) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#