Skip to content

KQuickStyleItem: Replace manual loop with C++20 std::accumulate

ivan tkachenko requested to merge work/ratijas/united-region into master

Default operator+ is fine, for QRegion it's the same as the pre-existing united() method.

Unfortunately, there is no std::ranges:: counterpart to avoid the begin-end idiom.

Merge request reports