isSaveableCursor

Checks whether its argument is a saveable cursor.

A saveable cursor is a cursor enhanced with a save method analogous to the save method of ForwardRanges.

template isSaveableCursor (
CursorType
) {}

Members

Variables

isSaveableCursor
enum bool isSaveableCursor;
Undocumented in source.

Parameters

CursorType

the type to be tested

Return Value

true if CursorType is a cursor (as specified by isCursor) and also supports the save method as specified here; false otherwise

Specification: The type shall support at least:

  • all methods and aliases specified by isCursor
  • CursorType save(): returns an independent copy of the current cursor; the copy must start at the position the original cursor was when this method was called; the two copies shall be independent, in that advancing one does not advance the other.

Meta