Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
operator== is the operator to determine if two instances are the same.
The following code uses operator== to determine that one plus two is equal to three:
#include <iostream> |
operator== is encapsulated by the functor std::equal_to.
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.