Re: [PATCH 00/17] Add memberof(), split some headers, and slightly simplify code

From: Alexey Dobriyan
Date: Fri Nov 19 2021 - 10:08:00 EST


> +#define memberof(T, m) (((T *) NULL)->m)
> +
> #define typeof_member(T, m) typeof(((T*)0)->m)

No.

Your macro exists already under different name.

sizeof_member and typeof_member exist, you don't anything more.