C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Derived class's function invokes base class's function

From: Thiago Macieira <thiago_at_[hidden]>
Date: Wed, 06 Apr 2022 08:51:28 -0700
On Wednesday, 6 April 2022 08:34:55 PDT Frederick Virchanza Gotham via Std-
Proposals wrote:
> I think we should have a way of getting the method in the Derived
> class to automatically invoke the base class's method. So instead of
> having:

Why?

Please explain why we need this new core language change to do something we
can already do. What becomes better because of it, or less error-prone, or
simpler? Is there anything that becomes possible that previously wasn't?
Please expand on your motivation.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering

Received on 2022-04-06 15:51:30