Implement P0253R1, Fixing a design mistake in the searchers interface in Library...
authorVille Voutilainen <ville.voutilainen@gmail.com>
Mon, 12 Sep 2016 15:48:32 +0000 (18:48 +0300)
committerVille Voutilainen <ville@gcc.gnu.org>
Mon, 12 Sep 2016 15:48:32 +0000 (18:48 +0300)
commit5e8037ba97f4b333d7e55aad3f76bfe1c7d28239
treed8fd695a5cdafbb9e2e0a2b3232acc42f752690c
parentf82dfb8d4e4292c1faab743ada2051a432f68ff6
Implement P0253R1, Fixing a design mistake in the searchers interface in Library Fundamentals.

Implement P0253R1, Fixing a design mistake in the searchers
interface in Library Fundamentals.
* include/std/functional: (utility): New include in C++17 mode.
(default_searcher): Use a pair as return type, adjust the definition.
(boyer_moore_searcher): Likewise.
(boyer_moore_horspool_searcher): Likewise.
* testsuite/20_util/function_objects/searchers.cc: Adjust.

From-SVN: r240094
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/function_objects/searchers.cc