PR libstdc++/83607 specialize Boyer-Moore searchers for std::byte
authorJonathan Wakely <jwakely@redhat.com>
Thu, 4 Jan 2018 10:21:29 +0000 (10:21 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 4 Jan 2018 10:21:29 +0000 (10:21 +0000)
commit32489ab56a9ec26aa2342c50bc6d40c95d353777
tree659486118b0dff95e27cb72b4ba400ff6cba8120
parentfb4a3d82a6a485b999a924283929acd643bdc228
PR libstdc++/83607 specialize Boyer-Moore searchers for std::byte

PR libstdc++/83607
* include/std/functional (__is_byte_like): New trait.
(__is_std_equal_to): Remove.
(__boyer_moore_base_t): Use __is_byte_like instead of
__is_std_equal_to.
* include/experimental/functional (__is_std_equal_to): Remove.
(__boyer_moore_base_t): Use __is_byte_like instead of
__is_std_equal_to.
* testsuite/20_util/function_objects/83607.cc: New test.

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