D++ (DPP)
C++ Discord API Bot Library
dpp::utility::dummy< T > Struct Template Reference

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

+ Collaboration diagram for dpp::utility::dummy< T >:

Public Attributes

std::array< std::byte, sizeof(T)> data
 Array of bytes with a size mimicking T. More...
 

Detailed Description

template<typename T>
struct dpp::utility::dummy< T >

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

Template Parameters
TType to mimic

Member Data Documentation

◆ data

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

Array of bytes with a size mimicking T.

D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0