C++ Member Functions vs. Free Functions
As a C++ programmer, you are probably familiar with the following design question: Should you implement a function as a class member or as a free function?
Not so sure about the answer? Well, let’s examine.
Source: C++ Member Functions vs. Free Functions, an article by Daniel Sieger.