Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::equal_range is an STL algorithm to obtain the range equal to a certain value in a container.
In the example below, the range is obtained for the values matching '1':
#include <algorithm> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.