Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
A free function is a non-member function of a class:
Point operator+(const Point& lhs, const Point& rhs) |
Avoid free functions (except operator functions) at file scope in header (.h) files [1]. Avoid free functions with external linkage (including operator functions) in implementation (.cpp) files [1].
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.