From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122308 invoked by alias); 10 Nov 2015 13:08:28 -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 122288 invoked by uid 89); 10 Nov 2015 13:08:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 10 Nov 2015 13:08:26 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id D1384C000410; Tue, 10 Nov 2015 13:08:24 +0000 (UTC) Received: from localhost (ovpn-116-102.ams2.redhat.com [10.36.116.102]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tAAD8NgU017363; Tue, 10 Nov 2015 08:08:24 -0500 Date: Tue, 10 Nov 2015 13:08:00 -0000 From: Jonathan Wakely To: =?iso-8859-1?Q?Fran=E7ois?= Dumont Cc: "libstdc++@gcc.gnu.org" , gcc-patches Subject: Re: Remove instantiations when no concept check Message-ID: <20151110130823.GB2937@redhat.com> References: <56410CA6.5030803@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <56410CA6.5030803@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2015-11/txt/msg01210.txt.bz2 On 09/11/15 22:14 +0100, François Dumont wrote: >Hi > > I just committed this trivial cleanup. > >2015-11-09 François Dumont > > * include/bits/stl_algo.h > (partial_sort_copy): Instantiate std::iterator_traits only if concept > checks. > (lower_bound): Likewise. > (upper_bound): Likewise. > (equal_range): Likewise. > (binary_search): Likewise. > * include/bits/stl_heap.h (pop_heap): Likewise. Thanks! The unused-local-typedefs warnings are quite noisy, so it's good to get rid of them.