Algorithms

template<class Begin, class End>
bool all_unique(const Begin &begin, const End &end)

Check if all elements in the range [begin, end) are unique.

Parameters:
  • begin – Forward iterator to the beginning of the range.

  • end – Forward iterator to the end of the range.

template<typename T>
struct MinMax
#include <svs/lib/algorithms.h>

A simple aggregate containing a minimum and maximum value.

Public Members

T min

Members.

Public Static Functions

static inline MinMax init()

A static initializer to keep this class a simple aggregate.