mirror of
https://github.com/boostorg/algorithm.git
synced 2025-10-21 11:55:26 +02: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()`.