Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Algorithm similar to std::accumulate, except that accumulate_if also needs a predicate argument.
//From http://www.richelbilderbeek.nl/CppAccumulate_if.htm |
//From http://www.richelbilderbeek.nl/CppAccumulate_if.htm |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.