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