COMMON: Update documentation for Common::remove()

This commit is contained in:
hax0kartik 2023-06-01 19:22:06 +05:30 committed by Eugene Sandulenko
parent 4924a35540
commit b8f6af8dfe

View File

@ -393,6 +393,11 @@ void replace(It begin, It end, const Dat &original, const Dat &replaced) {
/**
* Removes all elements that are equal to value from the range [first, last).
* This function is the equivalent of std::remove.
*
* @param[in] first Iterator to the first position to be examined.
* @param[in] last Iterator to the last position.
* @param[in] val Value to be removed.
* @return An iterator to the new end of the range.
*/
template<class It, class T>
It remove(It first, It last, const T& val) {