Implement the default_searcher part of C++20 p1032 Misc constexpr bits.
authorEdward Smith-Rowland <3dw4rd@verizon.net>
Fri, 15 Nov 2019 21:26:25 +0000 (21:26 +0000)
committerEdward Smith-Rowland <emsr@gcc.gnu.org>
Fri, 15 Nov 2019 21:26:25 +0000 (21:26 +0000)
commit12536431ade794ab9d16ee3230a6880c1d277552
treef82f75d676dc899ac7b6b7c125fb5f3ea4e097fb
parentae0b0fc6ae46c47ec5003db8cc3b6eff75423c18
Implement the default_searcher part of C++20 p1032 Misc constexpr bits.

2019-11-15  Edward Smith-Rowland  <3dw4rd@verizon.net>

Implement the default_searcher part of C++20 p1032 Misc constexpr bits.
* include/std/functional
(default_searcher, default_searcher::operator()): Constexpr.
* testsuite/20_util/function_objects/constexpr_searcher.cc: New.

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