Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
operator/ is the operator for dividing.
The following line of code calls operator/ to divide the values of two integers:
const int x = 12 / 4; |
operator/ is encapsulated by the functor std::divides.
#include <cassert> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.