]> gcc.gnu.org Git - gcc.git/commit
libstdc++ Hastable: Move std::is_permutation to limit includes
authorFrançois Dumont <fdumont@gcc.gnu.org>
Thu, 27 Feb 2020 18:08:40 +0000 (19:08 +0100)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Sat, 29 Feb 2020 17:40:39 +0000 (18:40 +0100)
commit44c85722dc6499c65264d1d45ffe01701053b067
treea2cfdfbb6fd32419e811e848829cd19601f08ccf
parent68a1a11fad06fed89c9cc53c247fea3cc8bb7cc8
libstdc++ Hastable: Move std::is_permutation to limit includes

Move std::is_permutation algorithm with associated helpers to stl_algobase.h
to remove stl_algo.h include from hashtable_policy.h and so reduce preprocess
size of unordered_map and unordered_set headers.

* include/bits/stl_algo.h
(__find_if, __count_if, __is_permutation, std::is_permutation): Move...
* include/bits/stl_algobase.h: ...here.
* include/bits/hashtable_policy.h: Remove <bits/stl_algo.h> include.
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable_policy.h
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/include/bits/stl_algobase.h
This page took 0.057082 seconds and 6 git commands to generate.