tinyutf8 4.0.2
Unicode (UTF-8) capable std::string
Loading...
Searching...
No Matches
Public Attributes | List of all members
tiny_utf8::tiny_utf8_detail::last_byte< T, size_t > Union Template Reference

Helper to modify the last (address-wise) byte of a little endian value of type 'T'. More...

#include <tinyutf8.h>

Collaboration diagram for tiny_utf8::tiny_utf8_detail::last_byte< T, size_t >:
Collaboration graph
[legend]

Public Attributes

number
 
struct { 
 
   char   dummy [sizeof(T) -1] 
 
   char   last 
 
bytes 
 

Detailed Description

template<typename T, std::size_t = sizeof(T)>
union tiny_utf8::tiny_utf8_detail::last_byte< T, size_t >

Helper to modify the last (address-wise) byte of a little endian value of type 'T'.

Member Data Documentation

◆ [struct]

struct { ... } tiny_utf8::tiny_utf8_detail::last_byte< T, size_t >::bytes

◆ dummy

template<typename T , std::size_t = sizeof(T)>
char tiny_utf8::tiny_utf8_detail::last_byte< T, size_t >::dummy[sizeof(T) -1]

◆ last

template<typename T , std::size_t = sizeof(T)>
char tiny_utf8::tiny_utf8_detail::last_byte< T, size_t >::last

◆ number

template<typename T , std::size_t = sizeof(T)>
T tiny_utf8::tiny_utf8_detail::last_byte< T, size_t >::number

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