Remove instantiations when no concept check

François Dumont frs.dumont@gmail.com
Mon Nov 9 21:14:00 GMT 2015


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.

François

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clean_concept_checks.patch
Type: text/x-patch
Size: 7532 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151109/be022082/attachment.bin>


More information about the Gcc-patches mailing list