[#BloombergLP-bslstl-IteratorUtil_LegacyInsertDistance-0c-insertDistance]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/IteratorUtil_LegacyInsertDistance-0c.adoc[IteratorUtil&lowbar;LegacyInsertDistance&lt;t&lowbar;INPUT&lowbar;ITERATOR, t&lowbar;SENTINEL, false&gt;]::insertDistance
:relfileprefix: ../../../
:mrdocs:

Return 0 because distance calculation is not supported&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;iteratorutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bsl::iterator&lowbar;traits&lt;t&lowbar;INPUT&lowbar;ITERATOR&gt;::difference&lowbar;type
insertDistance(
    t&lowbar;INPUT&lowbar;ITERATOR const& first,
    t&lowbar;SENTINEL const& last);
----

== Return Value

always 0

== Parameters

[cols="1,4"]
|===
| Name| Description
| *first*
| beginning of the half&hyphen;open range (ignored)
| *last*
| end of the half&hyphen;open range (ignored)
|===


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