[libcxx-commits] [libcxx] [libc++] Remove `optional::iterator` from experimental mode (PR #203782)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jun 18 01:12:02 PDT 2026
philnik777 wrote:
> @philnik777 I'm curious to know whether you have another abstraction in mind instead of `capacity_aware_iterator`, or whether you think we should just implement `optional`'s iterator directly without an underlying abstraction?
Not quite sure what you mean by "directly without an underlying abstraction".
I'm simply not convinced that the benefits of having a separate iterator outweigh the costs. I'm happy to talk about this in our next 1:1 if you'd like.
https://github.com/llvm/llvm-project/pull/203782
More information about the libcxx-commits
mailing list