This struct serves as a namespace for utility functions that operate on IndexSpan objects.
Declared in <bdlb_indexspanutil.h>
struct IndexSpanUtil;
| Name | Description |
|---|---|
shrink | Return an IndexSpan object transformed from the specified original using the specified shrinkBegin and shrinkEnd so that its position is original.position() + shrinkBegin and whose length is original.length() - (shrinkBegin + shrinkEnd). The behavior is undefined unless shrinkBegin + shrinkEnd <= original.length(). |