Invalid use of 'this' in non-member function
问题 I had working on a class and started writing everything in the same .cpp file. However, after a while I could see the class getting bigger and bigger so I decided to split it into a .h and a .cpp file. gaussian.h file: class Gaussian{ private: double mean; double standardDeviation; double variance; double precision; double precisionMean; public: Gaussian(double, double); ~Gaussian(); double normalizationConstant(double); Gaussian fromPrecisionMean(double, double); Gaussian operator *