[libcxx-commits] [libcxx] [libc++] Optimize {set, map}::{lower, upper}_bound (PR #161366)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 10 02:06:35 PDT 2026


ldionne wrote:

For posterity, while the validity of this optimization was challenged due to the Boost.ICL issue linked, LEWG reinforced libc++'s interpretation of the Standard when it discussed [LWG 4572](http://wg21.link/LWG4572) at the Brno meeting, confirming that this optimization is valid.

https://github.com/llvm/llvm-project/pull/161366


More information about the libcxx-commits mailing list