Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::StrictWeakOrder Concept Reference

Strict weak ordering constraint for BST comparators. More...

#include <ah-concepts.H>

Concept definition

template<typename F, typename T>
concept Aleph::StrictWeakOrder = std::strict_weak_order<F, T, T>
Strict weak ordering constraint for BST comparators.
Definition ah-concepts.H:84

Detailed Description

Strict weak ordering constraint for BST comparators.

Used by BST classes (Gen_Avl_Tree, Gen_Rb_Tree, etc.) to constrain the Compare template parameter. Based on std::strict_weak_order, which requires the functor to be a regular invocable returning a boolean-testable result.

Template Parameters
Ffunctor type.
Tkey type.

Definition at line 84 of file ah-concepts.H.