[libcxx-commits] [PATCH] D130124: [libc++][ranges] fix `std::search_n` incorrect `static_assert`

Joe Loser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 19 14:15:00 PDT 2022


jloser added inline comments.


================
Comment at: libcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_n_pred.pass.cpp:189
     test<random_access_iterator<const int*> >();
-
+    testStaticAssertBug();
 #if TEST_STD_VER > 17
----------------
Nit: can we give a better name to this function?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130124/new/

https://reviews.llvm.org/D130124



More information about the libcxx-commits mailing list