[Toybox] [SC22WG14.32312] Statement expressions

Rob Landley rob at landley.net
Mon Jul 14 21:53:53 PDT 2025


On 7/14/25 09:58, Alejandro Colomar wrote:
> BTW, the uses we have outside of that, such as is_signed() and
> is_unsigned(), are used to implement what we'll (hopefully) standardize
> as _Minof() and _Maxof() quite soon.  And there's the one use whithin a
> _Generic() that selects two types at once (shown above).

If you're going to be sticking an _ on every new identifier added since 
1999, and __on several of them like has_include(), at what point do new 
identifiers switch to ___ and then ____ ?

Seems kind of silly. And I say this as someone who had a throw() 
function in an early C++ program that broke when upgrading from turbo 
c++ to borland c++ for DOS back when I was several inches shorter. And 
who just last week had to track down where to insert --std=C++11 on a 
mac program's build because the mac host compiler "upgraded" the 
toolchain out from under a coworker and thus stopped being able to build 
a package it had built before.

But sure, all new official identifiers are ________potato, why not...

(What happened to only #including headers you mean to include and 
expecting them to declare stuff?)

Rob


More information about the Toybox mailing list