From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111039 invoked by alias); 4 Sep 2017 19:47:59 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 111016 invoked by uid 89); 4 Sep 2017 19:47:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-wm0-f49.google.com Received: from mail-wm0-f49.google.com (HELO mail-wm0-f49.google.com) (74.125.82.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 04 Sep 2017 19:47:54 +0000 Received: by mail-wm0-f49.google.com with SMTP id 187so8367364wmn.1; Mon, 04 Sep 2017 12:47:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=IdjpabSepG5vWnSGPuJIJeH5n+kaRzVDq7n7fFWrw10=; b=V4GvlWFZAjZP5JBKTGuq2JO1VKz2C9JYOa0ETEphR1RnNqeg4/cj46vjYQ04cGIgln LADE7p2roLw5pMCUQlaUtrn0D9VVmtdNAI9cDSV3NMweRgrCHAcUt94DVVusLq1o2Fc6 rCxT7ynrtv/8cjIKZSyZFdYymHrGS7RR4BbVLOZfeT+9zy4IT8pt3kHnRDEag1PZHhlS wUTRRnvbycRcq4LwgHTkxr6wxZNJMipVTtPj5+aZd/2jbFsotF25xIga76QAqJtbo08u KMp0LSSM2JrTjm4aomNSH44xbV+GHyR+LMhnRzThpGo+npg9wNpnlP/GvLAUapbFPvim /N0w== X-Gm-Message-State: AHPjjUi/cgq64ZskgaTsUC1vmTMtNqEEuiL15VcRXMJz4V3H5ktIsR6j ySUZ0uJcFGQizE23 X-Google-Smtp-Source: ADKCNb7QumsGijSM57ucIcgKxh2+ARfulhC5MqYtF5jGkkE0/gThzMR4yAIdVeUCABBSbqxqo6nmMQ== X-Received: by 10.28.236.91 with SMTP id k88mr413741wmh.95.1504554472006; Mon, 04 Sep 2017 12:47:52 -0700 (PDT) Received: from [192.168.0.23] (arf62-1-82-237-250-248.fbx.proxad.net. [82.237.250.248]) by smtp.googlemail.com with ESMTPSA id m15sm5364576wrb.86.2017.09.04.12.47.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Sep 2017 12:47:51 -0700 (PDT) Subject: Re: std::vector default default and move constructors From: =?UTF-8?Q?Fran=c3=a7ois_Dumont?= To: "libstdc++@gcc.gnu.org" , gcc-patches References: <2b48d135-7b0f-f8ec-73f5-15932c2a8581@gmail.com> <1653b9da-8fee-d534-0185-3a63a69d5ca1@gmail.com> Message-ID: <262ffc99-8fa4-a5a8-ebdd-b72c289bd581@gmail.com> Date: Mon, 04 Sep 2017 19:47:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1653b9da-8fee-d534-0185-3a63a69d5ca1@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2017-09/txt/msg00209.txt.bz2 Hi Gentle reminder. Thanks On 21/08/2017 21:15, François Dumont wrote: > Following feedback on std::list patch this one had the same problem of > unused code being deleted. So here is a new version. > > Ok to commit ? > > François > > On 28/07/2017 18:45, François Dumont wrote: >> Hi >> >> There was a little issue in this patch, here is the correct version. >> >> François >> >> >> On 23/07/2017 19:41, François Dumont wrote: >>> Hi >>> >>> Is it time now to consider this patch ? >>> >>> * include/bits/stl_vector.h >>> (_Vector_impl_data): New. >>> (_Vector_impl): Inherit from latter. >>> (_Vertor_impl(_Vector_impl&&, _Tp_alloc_type&&)): New. >>> (_Vector_base(_Vector_base&&, const allocator_type&)): Use latter. >>> (_Vector_base()): Default. >>> (_Vector_base(size_t)): Delete. >>> (_Vector_base(_Tp_alloc_type&&)): Delete. >>> (_Vector_base(_Vector_base&&)): Default. >>> (vector()): Default. >>> (vector(vector&&, const allocator_type&, true_type)): New. >>> (vector(vector&&, const allocator_type&, false_type)): New. >>> (vector(vector&&, const allocator_type&)): Use latters. >>> >>> Tested under linux x86_64. >>> >>> François >>> >>> >> >