public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Paolo Carlini <paolo.carlini@oracle.com>
Cc: "Marc Glisse" <marc.glisse@inria.fr>,
	"François Dumont" <frs.dumont@gmail.com>,
	"Richard Smith" <richardsmith@google.com>,
	"Ollie Wild" <aaw@google.com>,
	gcc-patches <gcc-patches@gcc.gnu.org>,
	"Diego Novillo" <dnovillo@google.com>,
	"Paul Pluzhnikov" <ppluzhnikov@google.com>,
	libstdc++ <libstdc++@gcc.gnu.org>
Subject: Re: Value type of map need not be default copyable
Date: Thu, 09 Aug 2012 12:01:00 -0000	[thread overview]
Message-ID: <CAH6eHdTWCoqjmL2CbFv5T0Lu03WKkxB1qYYrKFO2D-q-nyQQHQ@mail.gmail.com> (raw)
In-Reply-To: <50237639.3030103@oracle.com>

On 9 August 2012 09:35, Paolo Carlini wrote:
>
> When it does, and the corresponding PR will be *ready* we'll reconsider the
> issue. After all the *months and months and months* spent by the LWG adding
> and removing members from pair and tweaking everything wrt the containers
> and issues *still* popping up (like that with the defaulted copy constructor
> vs insert constraining), and with the support for scoped allocators still
> missing from our implementation, we are not adding members to std::pair such
> easily. Sorry, but personally I'm not available now to further discuss this
> specific point.

I'm with Paolo on this. No additional (non-standard) constructors in
std::pair please.

If it was possible to do without changing the ABI I'd include <tuple>
in the unordered containers anyway, when add scoped allocator support,
because std::tuple already knows how to avoid the EBO for 'final'
allocators (PR 51365).  I'd do the same in the other containers except
that they need to work in C++03 mode without std::tuple.

I think we should consider std::tuple almost as fundamental as
std::pair and shouldn't jump through hoops to avoid using it.  It's
already included by <memory> for example, to implement
std::unique_ptr, and I recently made changes to make it easier to use
std::unique_ptr internally, so we shouldn't be afraid of std::tuple
getting used more widely.

  reply	other threads:[~2012-08-09 12:01 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-03  4:18 Ollie Wild
2012-08-03  9:39 ` Paolo Carlini
2012-08-03 15:19   ` Ollie Wild
2012-08-04 11:23     ` Paolo Carlini
2012-08-04 11:54       ` Paolo Carlini
2012-08-04 13:27         ` Marc Glisse
2012-08-04 15:08           ` Paolo Carlini
2012-08-04 15:16             ` Marc Glisse
2012-08-04 15:19               ` Paolo Carlini
2012-08-04 15:28                 ` Marc Glisse
2012-08-04 15:34                   ` Paolo Carlini
2012-08-07 21:43                     ` Ollie Wild
2012-08-07 22:11                       ` Paolo Carlini
     [not found]                       ` <CAGL0aWftQAdQXjOBYSoa6fjjM64Mw9_RuTBZXh4UJqhPqmWD0g@mail.gmail.com>
2012-08-08  7:35                         ` Marc Glisse
2012-08-08 13:16                           ` François Dumont
2012-08-08 13:39                             ` Paolo Carlini
2012-08-08 20:46                               ` François Dumont
2012-08-09  7:14                                 ` Marc Glisse
2012-08-09  8:35                                   ` Paolo Carlini
2012-08-09 12:01                                     ` Jonathan Wakely [this message]
2012-08-09 20:22                                     ` François Dumont
2012-08-09 21:22                                       ` Marc Glisse
2012-08-09 23:26                                         ` Paolo Carlini
2012-08-11 13:29                                           ` François Dumont
2012-08-11 13:47                                             ` Marc Glisse
2012-08-12 11:43                                               ` Jonathan Wakely
2012-08-12 12:02                                                 ` Marc Glisse
2012-08-12 20:00                                               ` François Dumont
2012-08-13 12:10                                                 ` Paolo Carlini
2012-08-13 19:50                                                   ` François Dumont
2012-08-08 13:48                             ` Marc Glisse

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=CAH6eHdTWCoqjmL2CbFv5T0Lu03WKkxB1qYYrKFO2D-q-nyQQHQ@mail.gmail.com \
    --to=jwakely.gcc@gmail.com \
    --cc=aaw@google.com \
    --cc=dnovillo@google.com \
    --cc=frs.dumont@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=libstdc++@gcc.gnu.org \
    --cc=marc.glisse@inria.fr \
    --cc=paolo.carlini@oracle.com \
    --cc=ppluzhnikov@google.com \
    --cc=richardsmith@google.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).