[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 01:34:25 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:

He derived from a specific iterator though. A general iterator wrapper as you have here is an entirely different thing. We should implement that properly, not only when we need it at some later point.

https://github.com/llvm/llvm-project/pull/213990


More information about the libcxx-commits mailing list