Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) operator-

 

operator- is the operator for subtracting.

 

The following line of code calls operator- to subtract the values of two integers:

 

const int x = 5 - 2;

 

operator- is encapsulated by the functor std::minus.

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict