cpp/algorithm/is heap

Checks whether the elements in range are a.

@1@ Elements are compared using. @3@ Elements are compared using the given binary comparison function. @2,4@ Same as, but executed according to.

Return value
if the range is max heap, otherwise.

Complexity
Linear in the distance between and.