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().
Declared in <bdlb_indexspanutil.h>
static
IndexSpan
shrink(
IndexSpan const& original,
IndexSpan::size_type shrinkBegin,
IndexSpan::size_type shrinkEnd);