kblib 0.2.3
General utilities library for modern C++
punner Union Reference
Collaboration diagram for punner:

Public Attributes

char storage [sizeof(char *)] {}
 
kblib::union_pun< const char *, &punner::storageptr
 
kblib::union_pun< std::uintptr_t, &punner::storageval
 
kblib::union_pun< char16_t[sizeof(char *)/2], &punner::storages
 

Detailed Description

Definition at line 171 of file bits.cpp.

Member Data Documentation

◆ ptr

kblib::union_pun<const char*, &punner::storage> punner::ptr

Definition at line 173 of file bits.cpp.

◆ s

kblib::union_pun<char16_t[sizeof(char*) / 2], &punner::storage> punner::s

Definition at line 175 of file bits.cpp.

◆ storage

char punner::storage[sizeof(char *)] {}

Definition at line 172 of file bits.cpp.

◆ val

kblib::union_pun<std::uintptr_t, &punner::storage> punner::val

Definition at line 174 of file bits.cpp.


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