Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
operator> is the operator to determine if the left-hand instance is greater than the right-hand instance.
The following code uses operator> to determine that two plus three is greater than four:
#include <iostream> |
operator> is encapsulated by the functor std::greater.
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.