Return whether insert‐distance can be calculated for these types.

Synopsis

Declared in <bslstl_iteratorutil.h>

constexpr
static
bool
canCalculate();

Description

Return true if the (template parameter) type t_INPUT_ITERATOR has a forward iterator category and the (template parameter) type t_SENTINEL is convertible to t_INPUT_ITERATOR.

Return Value

true if insert‐distance can be calculated, and false otherwise

Created with MrDocs