[libcxx-commits] [libcxx] [libc++] Always initialize __tree::{, const_}iterator (PR #147167)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 9 07:32:25 PDT 2025


================
@@ -0,0 +1,26 @@
+//===----------------------------------------------------------------------===//
----------------
ldionne wrote:

This is effectively testing an extension since https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3644.pdf mentions value-initialized iterators and this extension makes it work with _default_ initialized iterators. Let's move it under `test/extensions` and adjust the test comment to mention that this is an extension.

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


More information about the libcxx-commits mailing list