خرید بک لینک

Vote count: 0

I have a virtual class with pure virtual function

       virtual bool fun(const double &A, const double &r, int &x) = 0; 

I would also like to add following function into base class, but not as pure virtual fun, since no every child class has to need this method

    virtual bool fun(const double &A, const double &r, int &x, const std::shared_ptr<Project> &project); 

it tus out that compiler is complaining. What would be good approach to design such a class?

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 19 ارديبهشت 1395 ساعت: 1:37

صفحه بندی