Ubuntu – Operator overloading resolution in the hierarchy of classes
I have an hierarchy with an operator() overloading like the following class Base{ public: virtual std::vector<float> operator()(const std::vector<float>& us) const { // some implementation like // return us; } virtual float operator()(float u) const = 0; }; and a derived…