[libcxx-commits] [libcxx] Optimize __assign_with_sentinel in std::vector (PR #113852)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 11 13:39:49 PST 2024
================
@@ -48,6 +48,76 @@ void BM_Assignment(benchmark::State& st, Container) {
}
}
+// Wrap any Iterator into an input iterator
+template <typename Iterator>
+class InputIterator {
----------------
philnik777 wrote:
Why don't we simply use `cpp17_input_iterator`?
https://github.com/llvm/llvm-project/pull/113852
More information about the libcxx-commits
mailing list