Struct HeaderFeatureRange

Allocation-free input range over one repeated feature field.

struct HeaderFeatureRange;

Instances are produced by HeaderBlockView.requiredFeatures and HeaderBlockView.optionalFeatures. The underlying HeaderBlock has already been structurally validated, so rescanning cannot introduce a new semantic interpretation or allocate memory.

Properties

NameTypeDescription
empty[get] boolReturns true after all matching feature occurrences are consumed.
front[get] HeaderFeatureRefReturns the current feature occurrence. Valid only while non-empty.

Methods

NameDescription
popFront () Advance to the next feature occurrence.