public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely@redhat.com>
To: Tim Song <t.canens.cpp@gmail.com>
Cc: "libstdc++" <libstdc++@gcc.gnu.org>,
	gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [committed] libstdc++: Make ranges CPOs final and not addressable
Date: Tue, 15 Jun 2021 22:33:33 +0100	[thread overview]
Message-ID: <CACb0b4=Pb5JMezHcNBF7ZsTyAcDP4Nwcnk4mpBKgHpyBieuAXQ@mail.gmail.com> (raw)
In-Reply-To: <CAPQZVxt_E7u5OHB4dMf7VXzWL_cyF-xVj+TGwQaGWzN2WNj9cA@mail.gmail.com>

On Tue, 15 Jun 2021 at 21:32, Tim Song wrote:
>
> CPOs are specified as actual semiregular function objects that can be
> copied and constructed freely, so it seems a bit hostile to make them
> final/non-addressable? (It's debatable whether the type of a CPO is a
> type "specified in the C++ standard library" for which [derivation]/4
> would apply.)

I noticed that libstdc++ was failing some libc++ tests, but that was
only for ranges::advance etc and not the CPOs. I guess I got a bit
carried away, and it shouldn't apply to the CPOs, only the
[range.iter.ops] "function templates" (which are not really function
templates).


  reply	other threads:[~2021-06-15 21:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15 18:28 Jonathan Wakely
2021-06-15 20:32 ` Tim Song
2021-06-15 21:33   ` Jonathan Wakely [this message]
2021-06-16 13:37     ` Jonathan Wakely

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='CACb0b4=Pb5JMezHcNBF7ZsTyAcDP4Nwcnk4mpBKgHpyBieuAXQ@mail.gmail.com' \
    --to=jwakely@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=libstdc++@gcc.gnu.org \
    --cc=t.canens.cpp@gmail.com \
    /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).