Simple question, here: what is the difference between a static member function, i.e. a function that can be called without requiring an object to access it (simply using the class identifier), and a non-member function? Here, I am asking both conceptually and functionally.
Are non-member functions conceptually static?
this
, which is the pointer to the class instance with the instance-specific variables. Static functions don't havethis
parameter (thus you can't usethis
in a static function and can only access static data members.") to name one. – Improper