std1.0.0-beta-7 SafeC docs

std :: cmp

Struct std::Less

#include <std/cmp.h> source

generic<T> struct Less { }

Ascending by '<' / '>' (integers, floats, enums, pointers).

Methods

§static struct Less<T> new()source · definition
§int cmp(const &T a, const &T b) constsource · definition