Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::bind2nd is a binder to call a binary function with the value bound as second argument. If the first argument needs to be bound, use std::bind1st instead.
The distinction between std::bind1st and std::bind2nd gets clear in division:
#include <algorithm> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.