Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
Safe access to a pointer cast from unaligned memory via packed attribute, i.e. More...
#include <byte_util.hpp>
Public Member Functions | |
constexpr T | get (const bool littleEndian) const noexcept |
Public Attributes | |
T | store |
Safe access to a pointer cast from unaligned memory via packed attribute, i.e.
utilizing compiler generated safe load and store operations.
This template shall cause no costs, the cast data pointer is identical to 'T & p = &store'.
Definition at line 559 of file byte_util.hpp.
|
inlineconstexprnoexcept |
Definition at line 559 of file byte_util.hpp.
T jau::packed_t< T >::store |
Definition at line 559 of file byte_util.hpp.