1
0
Fork 0

Codechange: remove now unused cpp_sizeof

pull/14252/head
Rubidium 2025-05-11 12:43:42 +02:00 committed by rubidium42
parent 02d8ae018c
commit 03116ea878
1 changed files with 0 additions and 8 deletions

View File

@ -270,14 +270,6 @@ char (&ArraySizeHelper(T (&array)[N]))[N];
*/
#define lengthof(array) (sizeof(ArraySizeHelper(array)))
/**
* Gets the size of a variable within a class.
* @param base The class the variable is in.
* @param variable The variable to get the size of.
* @return the size of the variable
*/
#define cpp_sizeof(base, variable) (sizeof(std::declval<base>().variable))
/* take care of some name clashes on MacOS */
#if defined(__APPLE__)