A single function is just a normal function that is not a member of any class and is located in the global namespace. For example, this is a member function:
class SomeClass { public: SomeClass add( SomeClass other ); }; SomeClass::add( SomeClass other ) { <...> }
And this is a separate one:
SomeClass add( SomeClass one, SomeClass two );
source share