From owner-sc22wg14+sc22wg14-domo2=www.open-std.org@open-std.org  Mon Jun  1 12:37:45 2026
Return-Path: <owner-sc22wg14+sc22wg14-domo2=www.open-std.org@open-std.org>
X-Original-To: sc22wg14-domo2
Delivered-To: sc22wg14-domo2@www.open-std.org
Received: by www.open-std.org (Postfix, from userid 521)
	id 3D85F356DF7; Mon,  1 Jun 2026 12:37:45 +0200 (CEST)
Delivered-To: sc22wg14@open-std.org
Received: from mail-dl1-f50.google.com (mail-dl1-f50.google.com [74.125.82.50])
	by www.open-std.org (Postfix) with ESMTP id 796DC356D82
	for <sc22wg14@open-std.org>; Mon,  1 Jun 2026 12:37:43 +0200 (CEST)
Received: by mail-dl1-f50.google.com with SMTP id a92af1059eb24-13721dfd471so9005366c88.1
        for <sc22wg14@open-std.org>; Mon, 01 Jun 2026 03:37:43 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1780310262; cv=none;
        d=google.com; s=arc-20240605;
        b=RiS8Cwmg85gvHBPcg1hTA6kCTEfeRr+lukSG7XRR5J8l3zQRcEgDoMSmmg+RAEarxU
         QBDDxSHXFpcCqgRWVKvPgk2HREkAhLaU30qyAFYQSi4Ar5fL4m04g33gGvXDwStoYyJ0
         LmsXpTytQ0UKhyUKhcz0ijZEsFrQeehH6QTnbrkG2wZGNmYrFTB+ugce2pxW5v5ydgZw
         fjoe79xs6nDY1HkjOn5iWgAJJPQ1KuMO3BiILw5DlMAtUmk+0IsAg5AJ13R8NrwlfxQg
         efez6hkJ7g6WM0vcbHjjExMKIjcVGG5+tCvdVVb2euivpWwnq/O54b9tpTrHVTDMP6kO
         a4GQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:dkim-signature;
        bh=c2EGeaV6Ch7iGlakfEmLIbmRD+oBy+WB2ddNu+USEQk=;
        fh=1JkEdy5mPjzib9iTkGN9SQQkEhbXyc64IuvtbMW4/Zg=;
        b=AAqH4rReXhc0y+T62taaNA/WAHWgPZSH+fjOvL1CRXeNtitgEfs3vsO+dTplQBiWNz
         BkeF0jV300SyiSSnJ82VmxqYdUh7hp2wz9WTv7Ai6XLXWpOXh+gHEZCJ1my8hMUawyuZ
         gcglmvpg19iyqDUh15OqosH2rcs2jPHLLolV+2QeutacPMYmc8ODTr48CcG1hMjEi0pA
         lfs/7wki1FeE4dJMgv4HHNRlm9G9n72eABmc3UZli7gjsj1LPB/EO0V+UyfAIril6aOV
         ZL0fk9NLt6pn579CrldGYQ4wamkFHJiXkf+oNrIaGNJFuUnrVZyqA3qRLl7NWRQDJfMT
         NASg==;
        darn=open-std.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20251104; t=1780310262; x=1780915062; darn=open-std.org;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:from:to:cc:subject:date
         :message-id:reply-to;
        bh=c2EGeaV6Ch7iGlakfEmLIbmRD+oBy+WB2ddNu+USEQk=;
        b=o7bQPyzTgbrOWGM1yUqeSHza5z5DAOP0BSSp5xMvJ9DK+3nOu2tPcteHeUzqP4jX6R
         h3Drohg/PySzIvGHqCCKl6OZeJhH5AfR5Hc4o/fBOhT0a0BKzefl3/mAfJCbTSLxFARg
         OuGx9H6L4Iu1REcMfQP6tKNjeNrbPeT6FuaqyerFKKvmHDgNfvhRlltmATiwR6SoVg9K
         OWgo3kgsG+QBKlflpHzBNFevPPQMvgM4pJn8C8joV+7u0KyxNlQINI/omi5rwzuh+0GR
         4N5ArniKfCUkHy0Pwz4HjRYmEeS7EQ2UP/iwvgoDJb2EkV4R1ntSvNA9GsadJYXSCodP
         XCcg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20251104; t=1780310262; x=1780915062;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from
         :to:cc:subject:date:message-id:reply-to;
        bh=c2EGeaV6Ch7iGlakfEmLIbmRD+oBy+WB2ddNu+USEQk=;
        b=EaVRzbYJx9w+Vmj9wMLxtil/fjfXt57vIg2JiajJXeqMf/n3OW8AS4qiEuXc9EAl16
         jbOE5qPE/YTjUpblMLZli9+sqSA47TgmuOGmP0jyhS3Y7AViuDDqqTfm/tHAXZcjR4hU
         DnOE3qdsxjVELK7JT0GeIMUjxxZcMCcXlwZCYraLUIx9WyM+Omq6WocvLsErf+6L54WV
         LGmrbKLIH0K2LZ/MundfnA+XkZPoWnVpXzC3kQ4UnFgV+2LyFvYeFtrkf+2PXVQZ8IvP
         BBuNbPcc6E5Ue76HblDKWoSrhUdMMnUZZDNYH37rOZqC/hOJD9Q0THydnEI+BRHbfYKp
         j0aA==
X-Forwarded-Encrypted: i=1; AFNElJ8nOwqHJWZ/Fblai775RyxPdB5ZE94Az1+usdtZZUPcRgetxTRAsy9t8Fh3PzzcwtxbvJl5WfYblg==@open-std.org
X-Gm-Message-State: AOJu0YymyHDskoZUtE4teQaI03Q0cXD3QPNTWaK1JVJJfupVMpDV9rJX
	AVGh2/r22B36lDSvoIFVoL8sFoi3w80N7JlEFOUyiQkxkG5m4AaPu3nARE9GtJwHrso7n8YFgCY
	yId1UUU/uhNSHLlXO6/j80IQGj06nlk8=
X-Gm-Gg: Acq92OFvGmK4fdVU9H2gTWSYNnK9mSwMjoSgXMoCskpaUKgmXSyxeeWv2xoHjPHYeoz
	fTDaNrmmL3ZjhowhszTpGvmRuBAhezpOuQLtViEqzrY3D228aBp1a4K47WVi795AcXEzNuFZcue
	UGs8Q3nifoEWCxbN5VGW6nTq7XgUn5zkQaTPKCvjkozoZo75mAV32wXgNXm50pa4tXXHLeKBEES
	9FZMYjWkJ4TXmddDxl8iLbO6/Z+7osP7nu7gn6WQ2DV2YXsQEYa4ylY9LX7u155qaUuKtMWFPVc
	JZ6ZgKXHpqHbeT4Ix6wxyyk3MaScMi+daX132pkRht3VmfprzhZx7jWxiXyF4MsxtDaUUblbep+
	XsZo1
X-Received: by 2002:a05:7300:a44c:b0:2da:a813:a5fd with SMTP id
 5a478bee46e88-304fa5a7ac4mr4745573eec.22.1780310262437; Mon, 01 Jun 2026
 03:37:42 -0700 (PDT)
MIME-Version: 1.0
References: <CACqWKsNRXD+00jR7Y0y1bgz6rSdh9x5dqtN7cG9h6w326syMVw@mail.gmail.com>
 <20260511162622.7691B356DE1@www.open-std.org> <20260514181143.513CA356D87@www.open-std.org>
In-Reply-To: <20260514181143.513CA356D87@www.open-std.org>
From: Christopher Bazley <chris.bazley.wg14@gmail.com>
Date: Mon, 1 Jun 2026 11:37:31 +0100
X-Gm-Features: AVHnY4IQ4y8q9qf0Ihq6qYuFV1-6teI97p2Kwam-Hl-REfMSHzxwz_o_31jSRq4
Message-ID: <CAEHU8x9sb2CN4GR4nYTrvUkNHHK6050XkXMPFn9xBqBJage3Bw@mail.gmail.com>
Subject: Re: [SC22WG14.36515] 30-day review of N3868, Add type-safe minimum
 and maximum type-generic macros, v4
To: Aaron Ballman <aaron@aaronballman.com>
Cc: Robert Seacord <rcseacord@gmail.com>, "sc22wg14@open-std. org" <sc22wg14@open-std.org>, 
	=?UTF-8?B?SuKCkeKCmeKCmyBHdXN0ZWR0?= <jens.gustedt@inria.fr>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Sender: owner-sc22wg14@open-std.org
Precedence: bulk

Unfortunately, I missed the vote by a couple of days. After discussion
with colleagues I think I would have voted in favour, whereas I
previously planned to abstain.

To quote one of them: "I considered this question of heterogeneous min
a few years ago myself, so yes, I'm pleased that someone else has
decided it's worthwhile!"

I continue to have concerns that programmers will replace their own
MIN() macro with std_min() and thereby introduce subtle bugs, but that
doesn't outweigh all other considerations. I also still think that
WG14 should consider the best future direction of the language when it
comes to mixed signedness arithmetic, instead of simply providing
macro solutions.

Congratulations, Jens!

On Thu, May 14, 2026 at 7:11=E2=80=AFPM Aaron Ballman <aaron@aaronballman.c=
om> wrote:
>
> I continue to have concerns about the lack of type safety with regards
> to handling of enumerations (and to a lesser extent, bool), however I
> don't intend to vote against the proposal (likely will abstain).
>
> ~Aaron
>
> On Mon, May 11, 2026 at 12:26=E2=80=AFPM Robert Seacord <rcseacord@gmail.=
com> wrote:
> >
> > The review period for N3868 Gustedt, Add type-safe minimum and maximum =
type-generic macros, v4 ends soon  (May 16).
> > Please complete your review of this paper as soon as possible, if you h=
aven't already done so.
> >
> >
> > Thanks,
> > rCs
> >
> > On Thu, Apr 16, 2026 at 1:24=E2=80=AFPM Robert Seacord <rcseacord@gmail=
.com> wrote:
> >>
> >> We're starting a 30-day review of:
> >>
> >> N3868 Gustedt, Add type-safe minimum and maximum type-generic macros, =
v4
> >>
> >> This paper was reviewed at the March 9 - 13, 2026 meeting. The polling=
 was close:
> >> Decision Poll: Do we want to adopt N3762 as is into C2y? 5-10-5 no con=
sensus
> >> Opinion Poll: Do we want to adopt something along the lines of N3762 u=
sing stdint.h into C2y? 10-3-6 strong direction in favor
> >>
> >> There were some concerns such as:
> >>
> >> This paper and Seacord's paper, if adopted, should go into stdint.h, n=
ot stdlib.h.
> >>
> >> That I believe has been addressed by this latest revision.
> >>
> >> Once the 30-day review period completes on May 16, I'll open up pollin=
g for 10 days at https://github.com/c-lang-org/polls.
> >>
> >> Please let me know if you have any questions or concerns.
> >>
> >> Best regards,
> >>
> >> Robert Seacord
> >>
> >> Convenor of ISO/IEC JTC 1/SC 22/WG 14
