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

An Occupied or Vacant handle to a flat searchable container entry. More...

#include <types.h>

Detailed Description

An Occupied or Vacant handle to a flat searchable container entry.

A handle uses the same semantics as an entry. However, the wrapped value is a CCC_Handle_index index. When this type is returned the container interface is promising that this element will remain at the returned handle index until the element is removed by the user. This is similar to pointer stability but offers a stronger guarantee that will hold even if the underlying container is resized.

Data Fields

CCC_Handle_index index
 
CCC_Entry_status status
 

Field Documentation

◆ index

CCC_Handle_index CCC_Handle::index

The index into the contiguous region of memory.

◆ status

CCC_Entry_status CCC_Handle::status

A status to help us decide how to act with the entry.


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