This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Remove instantiations when no concept check
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 10 Nov 2015 13:08:23 +0000
- Subject: Re: Remove instantiations when no concept check
- Authentication-results: sourceware.org; auth=none
- References: <56410CA6 dot 5030803 at gmail dot com>
On 09/11/15 22:14 +0100, François Dumont wrote:
Hi
I just committed this trivial cleanup.
2015-11-09 François Dumont <fdumont@gcc.gnu.org>
* 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.