Return true if the range from the specified first (inclusive) to the specified last (exclusive) is sorted or empty, and false otherwise. The behavior is undefined unless first <= last.

Synopsis

Declared in <bdlc_packedintarrayutil.h>

template<class TYPE>
static
bool
isSorted(
    PackedIntArrayConstIterator<TYPE> first,
    PackedIntArrayConstIterator<TYPE> last);

Created with MrDocs