rhalbersma / bit_set

Rebooting the std::bitset franchise
Boost Software License 1.0
40 stars 5 forks source link

Use for_each in range-insert #4

Closed rhalbersma closed 6 years ago

rhalbersma commented 6 years ago

Instead of a raw while-loop, we should use std::for_each.

Rationale: "no raw loops".