Skip to content
Unverified Commit 979c19ab authored by Louis Dionne's avatar Louis Dionne Committed by GitHub
Browse files

[libc++] Fix complexity guarantee in ranges::clamp (#68413)

This patch prevents us from calling the projection more than 3 times in
std::clamp, as required by the Standard.

Fixes #64717
parent 8c0ec793
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment