![]() |
D++ (DPP)
C++ Discord API Bot Library
|
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... | |
Utility struct that has the same size and alignment as another but does nothing. Useful for ABI compatibility.
| T | Type to mimic |
| std::array<std::byte, sizeof(T)> dpp::utility::dummy< T >::data |
Array of bytes with a size mimicking T.