From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by sourceware.org (Postfix) with ESMTP id 30DE2386F453 for ; Wed, 26 Aug 2020 20:57:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 30DE2386F453 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-103-C4XGLwa5Mjaydx_p0PGFrQ-1; Wed, 26 Aug 2020 16:57:43 -0400 X-MC-Unique: C4XGLwa5Mjaydx_p0PGFrQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 26BD51DDFF; Wed, 26 Aug 2020 20:57:42 +0000 (UTC) Received: from localhost (unknown [10.33.36.61]) by smtp.corp.redhat.com (Postfix) with ESMTP id CBF5E7836B; Wed, 26 Aug 2020 20:57:41 +0000 (UTC) Date: Wed, 26 Aug 2020 21:57:41 +0100 From: Jonathan Wakely To: Patrick Palka Cc: gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org Subject: Re: [PATCH 3/3] libstdc++: Implement remaining piece of LWG 3448 Message-ID: <20200826205741.GQ3400@redhat.com> References: <20200826204454.1375362-1-ppalka@redhat.com> <20200826204454.1375362-3-ppalka@redhat.com> MIME-Version: 1.0 In-Reply-To: <20200826204454.1375362-3-ppalka@redhat.com> X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 20:57:46 -0000 On 26/08/20 16:44 -0400, Patrick Palka via Libstdc++ wrote: >Almost all of the proposed resolution for LWG 3448 is already >implemented; the only part left is to adjust the return type of >transform_view::sentinel::operator-. > >libstdc++-v3/ChangeLog: > > LWG 3448 > PR libstdc++/95322 > * include/std/ranges (transform_view::__distance_from): Give > this a deduced return type. > (transform_view::sentinel::operator-): Adjust the return type so > that it's based on the constness of the iterator rather than > that of the sentinel. > * testsuite/std/ranges/adaptors/95322.cc: Refer to LWG 3488. Also OK, thanks for fixing these.