C Container Collection (CCC)
Loading...
Searching...
No Matches
ccc_any_type_cmp Struct Reference

An element comparison helper. More...

#include <types.h>

Detailed Description

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
 

Field Documentation

◆ any_type_lhs

void const* const ccc_any_type_cmp::any_type_lhs

The left hand side for a three-way comparison operation.

◆ any_type_rhs

void const* const ccc_any_type_cmp::any_type_rhs

The right hand side for a three-way comparison operation.

◆ aux

void* ccc_any_type_cmp::aux

A reference to aux data provided to container on initialization.


The documentation for this struct was generated from the following file: