llvm-project
4884d6cb - [libc++] Extend __default_three_way_comparator to any types that only implements operator<=> (#157602)

Commit
56 days ago
[libc++] Extend __default_three_way_comparator to any types that only implements operator<=> (#157602) This uses the new `__builtin_lt_synthesises_from_spaceship` builtin from clang to use three way comparison for arbitrary user-defined types that only provide a spaceship operator.
Author
Parents
Loading