C Container Collection (CCC)
Loading...
Searching...
No Matches
CCC_Flat_hash_map_entry_wrap Union Reference

#include <private_flat_hash_map.h>

Collaboration diagram for CCC_Flat_hash_map_entry_wrap:

Detailed Description

A simple wrapper for an entry that allows us to return a compound literal reference. All interface functions accept pointers to entries and a functional chain of calls is not possible with return by value. The interface can then return &(union CCC_Flat_hash_map_entry_wrap){function_call(...).private} which is a compound literal reference in C23.

Data Fields

struct CCC_Flat_hash_map_entry private
 

Field Documentation

◆ private

struct CCC_Flat_hash_map_entry CCC_Flat_hash_map_entry_wrap::private

Wrapped type to make compound literal reference easy.


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