mirror of
https://github.com/boostorg/algorithm.git
synced 2026-01-24 17:42:07 +00:00
Problem: - There is no way to signal that a copy should proceed, selecting elements by a predicate until some condition is met. This is useful for patterns along the lines of "copy selected elements until there are n total elements in the output". Solution: - Introduce `copy_if_while()` and `copy_if_until()`.
12 KiB
12 KiB