sizeof

Andreas Schwab schwab@linux-m68k.org
Mon May 9 07:35:17 GMT 2022


On Mai 09 2022, Russell Shaw wrote:

> sizeof(int()) should transform to sizeof(int (*)()) according to the C++20
> standard.

No, see [expr.sizeof] #3.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Gdb mailing list