Implement C++17 string searchers.
authorVille Voutilainen <ville.voutilainen@gmail.com>
Mon, 12 Sep 2016 15:48:07 +0000 (18:48 +0300)
committerVille Voutilainen <ville@gcc.gnu.org>
Mon, 12 Sep 2016 15:48:07 +0000 (18:48 +0300)
commitf82dfb8d4e4292c1faab743ada2051a432f68ff6
treee0e342f9a5086386dbb386847c418ecb46fb2b88
parent8f3675f855e0e95366ef53c6291835cc2fb597f7
Implement C++17 string searchers.

* include/std/functional: (unordered_map, vector): New includes
in C++17 mode.
(array, bits/stl_algo.h): Likewise.
(default_searcher, __boyer_moore_map_base): New.
(__boyer_moore_array_base, __is_std_equal_to): Likewise.
(__boyer_moore_base_t, boyer_moore_searcher): Likewise.
(boyer_moore_horspool_searcher, make_default_searcher): Likewise.
(make_boyer_moore_searcher): Likewise.
(make_boyer_moore_horspool_searcher): Likewise.
* testsuite/20_util/function_objects/searchers.cc: New.

From-SVN: r240093
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/function_objects/searchers.cc [new file with mode: 0644]