Libft
Custom implementation of core libc functions with additional utility helpers.
Loading...
Searching...
No Matches
u_const_cast Union Reference

Temporary pointer view used to reinterpret the same address with or without const qualification. More...

#include <libft.h>

Data Fields

const char * str
 
char * res
 

Detailed Description

Temporary pointer view used to reinterpret the same address with or without const qualification.

This helper does not duplicate data; it only exposes the same pointer as either const char * or char * when a borrowed string address must be returned through a non-const API.

Field Documentation

◆ res

char* u_const_cast::res

◆ str

const char* u_const_cast::str

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