Boost logo

Boost :

Subject: [boost] [Boost.Range] An issue with the documentation of 'remove_erase_if' algorithm
From: Adam Romanek (romanek.adam_at_[hidden])
Date: 2013-02-07 02:15:02


Hi,

I think there's an issue with the documentation of 'remove_erase_if'
algorithm from Boost.Range library.

It says:

"remove_erase_if removes the elements x that satisfy pred(x) from the
container. This is in contrast to the erase algorithm which merely
rearranges elements."

I believe it's not in contrast to the "erase" algorithm but rather the
"remove" algorithm.

WBR,
Adam Romanek


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk