public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <jeffreyalaw@gmail.com>
To: Florian Weimer <fweimer@redhat.com>, gcc@gcc.gnu.org
Subject: Re: Default initialization of poly-ints
Date: Wed, 4 Jan 2023 13:30:56 -0700	[thread overview]
Message-ID: <cd19e851-58e5-fc8b-60ab-a8633b19a0f6@gmail.com> (raw)
In-Reply-To: <87lemjx3zw.fsf@oldenburg.str.redhat.com>



On 1/3/23 04:16, Florian Weimer via Gcc wrote:
> It seems that the default constructor of the non-POD poly-ints does
> nothing.  Is this intentional?  I expected zero initialization, to match
> regular ints.
I think it was intentional.  Richard Sandiford would know for sure.  But 
Martin Sebor might know as well since I think they discussed it at 
length a little while back.

jeff

  reply	other threads:[~2023-01-04 20:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-03 11:16 Florian Weimer
2023-01-04 20:30 ` Jeff Law [this message]
2023-01-12 16:49   ` Richard Sandiford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cd19e851-58e5-fc8b-60ab-a8633b19a0f6@gmail.com \
    --to=jeffreyalaw@gmail.com \
    --cc=fweimer@redhat.com \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).