[libc++] Make drop_view::begin constant time (#72883) (#72929)
As pointed out in #72883, the implementation only needs to return the value of ranges::next and does not need to obtain the value through ranges::advance, which causes it to have O(n) complexity in the case of random-access-sized but non-common range. Fixes #72883
parent
516cc98a
Please register or sign in to comment