A. Jiang 05218825ee
[libc++] Fix ranges::for_each taking whole associative containers (#172605)
Currently, the version of `ranges::for_each` which takes whole
associative containers treats `__root->__get_value()` as an existing
element even when the container is empty.

We should exit earlier in `__specialized_algorithm<...>::operator()`
when the tree is empty.
2025-12-17 12:31:46 -05:00
..