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

A key comparison helper to avoid argument swapping. More...

#include <types.h>

Data Fields

void const *const key_lhs
 
void const *const user_type_rhs
 
void * aux
 

Detailed Description

A key comparison helper to avoid argument swapping.

The key is considered the left hand side of the operation if three-way comparison is needed. Left and right do not matter if equality is needed.

Field Documentation

◆ aux

void* ccc_key_cmp::aux

A reference to aux data provided to the container on initialization.

◆ key_lhs

void const* const ccc_key_cmp::key_lhs

Key matching the key field of the provided type to the container.

◆ user_type_rhs

void const* const ccc_key_cmp::user_type_rhs

The complete user type stored in the container.


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