RankState

template<typename TElementType, typename = void>
class RankState

Defined in adapters.hpp.

Specialisations of this class should have a typedef type representing the type of data stored in the class, a 0-parameter constructor, and a constructor of signature template<typename T> RankState(T, T) where T is the type of a const iterator to a container of TElementType.

The default declaration provided here has type = void and indicates that no RankState object is required by Rank with template parameter TElementType.

Used by:

Template Parameters

TElementType – the type of elements.

Member types

type

By default no additional state is required to calculate Rank<TElementType>; this is represented by type being void.

Constructors

RankState() noexcept = default

Default constructor; does nothing.

RankState(T, T) noexcept

Iterator constructor; does nothing.

Deleted constructors

RankState(RankState const&) = delete

Deleted.

RankState(RankState&&) = delete

Deleted.

operator=(RankState const&) = delete

Deleted.

operator=(RankState&&) = delete

Deleted.