Sane C++ Libraries
C++ Platform Abstraction Libraries
Algorithms

Table of Contents

🟥 Placeholder library templated algorithms will be placed

Algorithms is a placeholder where templated algorithms will be added as needed over time.

Features

Algorithm Description
Algorithms::bubbleSort Sorts iterator range according to BinaryPredicate (bubble sort).
Algorithms::findIf Find item satisfying the given predicate.
Algorithms::removeIf Removes all items in the given range, satisfying the given predicate.
Note
min and max are in Compiler.h as they're widely used everywhere

Status

🟥 Draft
We need MOAR algorithms.

Description

Currently the list of algorithms is very short because it only contains only what's needed by other libraries. They're probably not enough to deserve their own library but hopefully additional algorithms will be added in the future and it's better grouping them here rather than keeping them around inside other libraries.

Roadmap

🟨 MVP Features:

  • Unique
  • Better Sort (Insertion ?)
  • Min / Max Element
  • Rotate
  • Count / Count If

🟦 Complete Features:

  • Not sure what to list here

💡 Unplanned Features:

  • Not sure what to list here