[#BloombergLP-bslstl-IteratorUtil-canCalculateInsertDistance] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/IteratorUtil.adoc[IteratorUtil]::canCalculateInsertDistance :relfileprefix: ../../../ :mrdocs: Return `true` if the calculation of `insertDistance` is supported for iterators of the specified types, `false` otherwise. == Synopsis Declared in `<bslstl_iteratorutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_INPUT_ITERATOR, class t_SENTINEL> constexpr static bool canCalculateInsertDistance(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#