Best way to use a static function library in c++? Instancing etc...

Ah interesting. See I was using Rama’s example:

and I realized that setting the (edit: didn’t mean to use the word virtual here) member functions to static allowed me to then do what you said (I was tripping a break trying to create an instance of the static lib class so I had to do some digging).

Would you be so kind as to explain as to why making it a virtual is useful and what does the ‘~’ do in that case as a prefix?

Thank you again!