[#BloombergLP-bdlb-IndexSpan-2constructor-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/IndexSpan.adoc[IndexSpan]::IndexSpan :relfileprefix: ../../../ :mrdocs: Create an `IndexSpan` object with the specified `position` and `length`. The behavior is undefined unless `position <= bsl::numeric_limits<size_t>::max() ‐ length`. == Synopsis Declared in `<bdlb_indexspan.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- IndexSpan( xref:BloombergLP/bdlb/IndexSpan/size_type.adoc[size_type] position, xref:BloombergLP/bdlb/IndexSpan/size_type.adoc[size_type] length); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#