Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::less is an STL predicate to perform operator< on two values.
The code below shows how to replace values that are less than zero by a zero.
#include <vector> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.