I have a question regarding class design. I want to have a class that encapsulates a bunch of related functions. For instance a Statistics class that would have static functions to calculate the arithmetic mean, empirical variance, etc. Or a physics class that would calculate projectile motion, wave-motion, etc.
How do you reference these function in main? Referring to the statistics example, in Java I would do Statistics.calcMean().
Statistics::calcMean(). You could also use a namespace instead of static class members.