C Container Collection (CCC)
|
An element comparison helper. More...
#include <types.h>
An element comparison helper.
This type helps the user define the comparison callback function, if the container takes a standard element comparison function, and helps avoid swappable argument errors. Any type LHS is considered the left hand side and any type RHS is the right hand side when considering three-way comparison return values. Aux data is a reference to any auxiliary data provided upon container initialization.
Data Fields | |
void const *const | any_type_lhs |
void const *const | any_type_rhs |
void * | aux |
void const* const ccc_any_type_cmp::any_type_lhs |
The left hand side for a three-way comparison operation.
void const* const ccc_any_type_cmp::any_type_rhs |
The right hand side for a three-way comparison operation.
void* ccc_any_type_cmp::aux |
A reference to aux data provided to container on initialization.