[To: s/gcc-patches/gcc/] Hi,
Attached is a new revision of the proposal for WG14 for adding an elementsof() operator (both the man(7) source, and the generated PDF). v2.2: - Rename lengthof => elementsof. Aaron found incompatible existing functions called lengthof() in the wild. - Require parens in ISO C. Leave sizeof-like syntax as a (recommended) QoI detail. It should give more freedom to implementations to start with something simple, if they need it. [Jens] - Document prior art in C and C++. [Jens, Aaron] - Document a rationale for the naming choice. [Jens, Aaron] - Document backwards compatiblity. [Jens, Aaron] - Document why we don't propose an uglified name. [Jens] - Add a few specific questions for WG14. [Jens] Have a lovely day! Alex -- <https://www.alejandro-colomar.es/>
elementsof.man
Description: Unix manual page
elementsof.pdf
Description: Adobe PDF document
signature.asc
Description: PGP signature