Skip to content

Commit be00098

Browse files
authored
[libc++] Remove a bunch of now unnecessary indirections in __tree (#142397)
Most notably, this removes the notion of a distinct `value_type` and `__container_value_type` from `__tree`, since these are now always the same type. There are a few places we need to keep `__value_type` around, since they are ABI visibile. In these cases `_Tp` is used directly. The second simplification here is that we use `const value_type&` instead of `const key_type&` in a few places and make use of the fact that the comparator is capable of comparing any combination of `key_type` and `value_type`. This is a follow-up to #134819.
1 parent 43260b0 commit be00098

File tree

3 files changed

+78
-171
lines changed

3 files changed

+78
-171
lines changed

0 commit comments

Comments
 (0)