[all-commits] [llvm/llvm-project] a22316: [libc++][NFC] Simplify `optional::iterator` (#183230)
William Tran-Viet via All-commits
all-commits at lists.llvm.org
Sat Mar 7 17:58:29 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a2231642b341c71ba184af2b3831502fded401da
https://github.com/llvm/llvm-project/commit/a2231642b341c71ba184af2b3831502fded401da
Author: William Tran-Viet <wtranviet at proton.me>
Date: 2026-03-08 (Sun, 08 Mar 2026)
Changed paths:
M libcxx/include/__iterator/wrap_iter.h
M libcxx/include/optional
Log Message:
-----------
[libc++][NFC] Simplify `optional::iterator` (#183230)
- Rename `__optional_iterator` into `__optional_iterator_base` and make
it part of the `__optional_{meow}_base` inheritance chain. This allows
us to get rid of a sketchy-looking downcast and shorten some code.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list