[libc++][ranges] fix `std::search_n` incorrect `static_assert`
authorHui Xie <hui.xie1990@gmail.com>
Wed, 20 Jul 2022 00:24:23 +0000 (17:24 -0700)
committerKonstantin Varlamov <varconst@apple.com>
Wed, 20 Jul 2022 00:24:47 +0000 (17:24 -0700)
commit9c0564a3a7df1c518e4f5b7eda54a84fc7e49776
treeaaa5b4211caef0d39833cd7a42ce820b2aa80649
parent94e6d2677bd3748b344aa5abccfc7284dbea8be0
[libc++][ranges] fix `std::search_n` incorrect `static_assert`

[libc++][ranges] fix `std::search_n` incorrect `static_assert`
see more detail in https://reviews.llvm.org/D124079?#3661721

Differential Revision: https://reviews.llvm.org/D130124
libcxx/include/__algorithm/search_n.h
libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_n_pred.pass.cpp