From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 187D83858C2F for ; Tue, 27 Sep 2022 20:27:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 187D83858C2F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664310444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gG+n8Y15AoidLlByUrCp9EhVs1DNI3tWAEDwI8QEJhg=; b=GpcswGaaRVLuzpeWoirfvStowe7CfNSwVr5CjsnawtdGGA6/geuKoCzrabdxo7Es+OPXep y0Cce0fu8iWN103uVOgHBb7YFB9DFvCdsyeBvI47xAelYVKS9jNrXmXidG8UQlfkrsq8XJ QxyGhNIZlvZ8/6Wz5B3IzqYBfj45ddM= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-457-c229FxYfMEC3eFxz2KV2OA-1; Tue, 27 Sep 2022 16:27:23 -0400 X-MC-Unique: c229FxYfMEC3eFxz2KV2OA-1 Received: by mail-qt1-f199.google.com with SMTP id ay22-20020a05622a229600b0035bbb349e79so7602415qtb.13 for ; Tue, 27 Sep 2022 13:27:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=gG+n8Y15AoidLlByUrCp9EhVs1DNI3tWAEDwI8QEJhg=; b=5knhdliZ5kbD183TqV95B9Uz4rysDfR1QHi2t4mXGJhxi25nF2QHaQrXwm2GbW3fzV 5P11rZbJinn31G2r2cBkHwlMm657sfmg/4KhP+mofyk0XHOMK2lJTgzvdz6UkoEOOKGG jr0FNlcqOYa1/xBwNN8gDYvE9RRjoQe5o9zIxLFF/P6+7Et3z7wG8wbf718p3/Jpd7Lf qBGMck/HrlnGqKqkcMUYXoro0occF2viaZBjOCEKKUV03+TO0JmpY+txSzsDGYz82HNO wXDhnp1sRBM0oB1RfOPJVVyR5KKKSIEzWcM/JvilWKYsZRRRX0AnOmcL4oYVfXVTBRXs 9WSg== X-Gm-Message-State: ACrzQf3Eofn15E58ZdwnKPQ6uxEor2IJFDJ2R0z94DII1Ub9+JuiGOba Xc8QKOpzF3NnNdHJNZwJLS9ZzEDix4CvUpfx8Iq2MDhc8nX3ggn+TM1+ukWHPw7dKpYCErRACHo nn9hcJEnYKuGuF5gKdp5GBsbNb/zilk0= X-Received: by 2002:a05:620a:4483:b0:6ce:8e57:254b with SMTP id x3-20020a05620a448300b006ce8e57254bmr19313171qkp.540.1664310443232; Tue, 27 Sep 2022 13:27:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4UESi9jn6dB7rexX3wOiq1Hxjn4wk6gPTYDLcw7qrZ8VUDl5xGhS7r+ElBCfUqeINAJ0W4tkR3Vo6x7JvVyfQ= X-Received: by 2002:a05:620a:4483:b0:6ce:8e57:254b with SMTP id x3-20020a05620a448300b006ce8e57254bmr19313159qkp.540.1664310443037; Tue, 27 Sep 2022 13:27:23 -0700 (PDT) MIME-Version: 1.0 References: <20220927195030.2024439-1-ppalka@redhat.com> <20220927195030.2024439-2-ppalka@redhat.com> In-Reply-To: <20220927195030.2024439-2-ppalka@redhat.com> From: Jonathan Wakely Date: Tue, 27 Sep 2022 21:27:12 +0100 Message-ID: Subject: Re: [PATCH 2/2] c++: implement __remove_cv, __remove_reference and __remove_cvref To: Patrick Palka Cc: gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org, jason@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, 27 Sept 2022 at 20:50, Patrick Palka via Libstdc++ wrote: > libstdc++-v3/ChangeLog: > > * include/bits/unique_ptr.h (unique_ptr<_Tp[], _Dp>): Remove > __remove_cv and use __remove_cv_t instead. This part is OK. I added that __remove_cv in 2012, and could have replaced it with __remove_cv_t when I added that in 2019.