[libcxx-commits] [libcxx] [libc++] added benchmarks for `string::append()` (PR #213990)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Aug 7 00:20:22 PDT 2026
================
@@ -43,6 +43,25 @@ void bench(std::string name, Func func, Mod modifier = {}) {
#endif
}
+template <typename Iterator>
+struct unoptimizable_forward_iterator : Iterator {
----------------
philnik777 wrote:
Do we really want to derive from the iterator? We don't usually do that because it's fragile. e.g. this doesn't work for raw pointers.
https://github.com/llvm/llvm-project/pull/213990
More information about the libcxx-commits
mailing list