dpp::utility::dummy
utility.h
typename T
std::array< std::byte, sizeof(T)> std::array<std::byte, sizeof(T)> dpp::utility::dummy< T >::data data dpp::utility::dummy::data

Array of bytes with a size mimicking T.

Utility struct that has the same size and alignment as another but does nothing. Useful for ABI compatibility.

T

Type to mimic

T
dpp::utility::dummy< T >
data
std::array< T >
elements
std::array< std::byte, sizeof(T)>
elements
< std::byte, sizeof(T)>
byte
- dpp::utility::dummy
  data