[PATCH] D74967: [NFC] Add filters to hasNItems and hasNItemsOrMore
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 09:57:57 PST 2020
jdoerfert added inline comments.
================
Comment at: llvm/include/llvm/ADT/STLExtras.h:1515
+template <typename IterTy,
+ typename Pred = bool (*)(const decltype(*std::declval<IterTy>()) &)>
bool hasNItems(
----------------
Do we need to provide a default for `Pred` (aka. `PredTy`)? If so, is a function pointer really what we want?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74967/new/
https://reviews.llvm.org/D74967
More information about the llvm-commits
mailing list