Skip to content

Commit 2cefe48

Browse files
committed
📝 [copy_if] Add documentation for copy_if_while and copy_if_until
1 parent cb3d032 commit 2cefe48

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

doc/algorithm.qbk

+12-2
Original file line numberDiff line numberDiff line change
@@ -206,14 +206,24 @@ See below
206206

207207
[section:copy_until copy_until ]
208208
[*[^[link header.boost.algorithm.cxx11.copy_if_hpp copy_until] ] ]
209-
Copy all the elements at the start of the input range that do not satisfy the predicate to the output range
209+
Copy all the elements from the start of the input range to the output range until the predicate is satisfied
210210
[endsect:copy_until]
211211

212212
[section:copy_while copy_while ]
213213
[*[^[link header.boost.algorithm.cxx11.copy_if_hpp copy_while] ] ]
214-
Copy all the elements at the start of the input range that satisfy the predicate to the output range
214+
Copy all the elements from the start of the input range to the output range while the predicate is satisfied
215215
[endsect:copy_while]
216216

217+
[section:copy_if_until copy_if_until ]
218+
[*[^[link header.boost.algorithm.cxx11.copy_if_hpp copy_if_until ] ]
219+
Copy all elements that satisfy the element predicate from the start of the input range to the output range until the termination predicate is satisfied
220+
[endsect:copy_if_until]
221+
222+
[section:copy_if_while copy_if_while ]
223+
[*[^[link header.boost.algorithm.cxx11.copy_if_hpp copy_if_while ] ]
224+
Copy all elements that satisfy the element predicate from the start of the input range to the output range while the termination predicate is satisfied
225+
[endsect:copy_if_while]
226+
217227
[section:iota_n iota_n ]
218228
[*[^[link boost.algorithm.iota_n iota_n] ] ]
219229
Write a sequence of n increasing values to an output iterator

0 commit comments

Comments
 (0)