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