[#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 `&lt;bdlb&lowbar;indexspan&period;h&gt;`

Create an `IndexSpan` object with position and length of 0&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/IndexSpan/2constructor-0e.adoc[IndexSpan]();
----

[.small]#xref:BloombergLP/bdlb/IndexSpan/2constructor-0e.adoc[_» more&period;&period;&period;_]#

Create an `IndexSpan` object with the specified `position` and `length`&period; The behavior is undefined unless `position &lt;&equals; bsl&colon;&colon;numeric&lowbar;limits&lt;size&lowbar;t&gt;&colon;&colon;max() &hyphen; length`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/IndexSpan/2constructor-01.adoc[IndexSpan](
    xref:BloombergLP/bdlb/IndexSpan/size_type.adoc[size&lowbar;type] position,
    xref:BloombergLP/bdlb/IndexSpan/size_type.adoc[size&lowbar;type] length);
----

[.small]#xref:BloombergLP/bdlb/IndexSpan/2constructor-01.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
