C Container Collection (CCC)
|
An element comparison helper. More...
#include <types.h>
Data Fields | |
void const *const | user_type_lhs |
void const *const | user_type_rhs |
void * | aux |
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. User type LHS is considered the left hand side and user 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.
void* ccc_cmp::aux |
A reference to aux data provided to container on initialization.
void const* const ccc_cmp::user_type_lhs |
The left hand side for a three-way comparison operation.
void const* const ccc_cmp::user_type_rhs |
The right hand side for a three-way comparison operation.