0
www.sandordargo.com · 12d · discuss
Not every ranges improvement is a shiny new view adaptor. Some of the most impactful C++26 changes are infrastructure: making containers work better with lazy ranges, bringing random number generation into the ranges world, and removing a long-standing ergonomic paper cut from algorithms. This post covers all three. approximately_sized_range and reserve_hint Here’s a scenario that should bo...