llvm-project
8dfca82a - [libc++][NFC] Don't use std::distance in std::equal (#177113)

Commit
83 days ago
[libc++][NFC] Don't use std::distance in std::equal (#177113) We don't need to use `std::distance`, since we know for a fact that we have random access iterators in that place. Instead, we can just subtract the iterators, avoiding a bunch of template machinery and imrpoving compile times a bit.
Author
Parents
Loading