Re: sizeof

Russell Shaw <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
 >Andreas Schwab wrote:
 >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.

What does "[expr.sizeof] #3" refer to ?

unary-expression :
   ...
   sizeof ( type-id )

type-id :
   type-specifier-seq abstract-declarator(opt)


No expressions here.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.