[Toybox] ?: proposal for ISO C

Rob Landley rob at landley.net
Tue Jul 8 22:53:24 PDT 2025


On 7/9/25 00:42, Alejandro Colomar wrote:
> Hi Rob,
> 
> On Tue, Jul 08, 2025 at 06:50:21PM -0500, Rob Landley wrote:
>> On 7/8/25 15:44, Alejandro Colomar wrote:
>>> [CC += wg14]
>>>
>>> Hi Elliott, Rob,
>>>
>>> On Tue, Jul 08, 2025 at 03:32:37PM -0400, enh wrote:
>>>> On Tue, Jul 1, 2025 at 1:52 PM Rob Landley <rob at landley.net> wrote:
>>>>> I spent many years figuring out what I could throw away. That quote from
>>>>> the guy who wrote "The Little Prince" was my email sig for a while:
>>>>>
>>>>> https://www.goodreads.com/quotes/19905-perfection-is-achieved-not-when-there-is-nothing-more-to
>>>
>>> [...]
>>>
>>>>>>> it's been implemented by clang/gcc for a long time, but if you're
>>>>>>> going to be a standards lawyer about it, __has_include() is c++17 and
>>>>>>> c23.
>>>>>
>>>>> Sigh. Did one of the standards finally include gcc's empty ? : middle
>>>>> argument? (Which I use all the time...)
>>>>
>>>> c23 does not include this, and i don't think i've seen a proposal to
>>>> standardize it. +Alejandro Colomar pays more attention to wg14 though,
>>>> so he might know better...
>>>>
>>>>> Sadly, standards remain a frame of reference to diverge from...
>>>
>>> I've written a proposal for standardization of that.  So far, I've only
>>> presented it informally (via email) to the committee, but I'll turn it
>>> into a proper paper after the next meeting that will be in August.
>>>
>>> Here's my draft proposal:
>>> <https://www.alejandro-colomar.es/src/alx/alx/wg14/alx-0030.git/tree/alx-0030.txt>
>>> (Anyway, I've pasted it at the bottom of the email, for convenience.)
>>>
>>> In August, we'll vote a proposal on which mine depends for the wording,
>>> which is why I didn't yet present an N document.
>>>
>>> I've CCed the committee in this email, so that they see that people are
>>> interested in having this feature and use it all the time.
>>>
>>> Feel free to comment on the proposal, if you think you'd add anything to
>>> the rationale.
>>
>> Rationale? As in why I was surprised this wasn't in C11?
> 
> Heh!  :)
> 
> Would you mind if I quote all of the below?

Go for it, I thought I was sending it straight to the relevant list but 
you mentioned the typo and I got the bounce...

Rob


More information about the Toybox mailing list