Liste des Groupes | Revenir à cl c |
On Fri, 13 Sep 2024 04:06:58 +0200, Janis Papanagnou wrote:
On 13.09.2024 00:32, Lawrence D'Oliveiro wrote:
>On Thu, 12 Sep 2024 17:40:17 +0200, Janis Papanagnou wrote:>
>A lot of early C++ programs I've seen were just, umm, "enhanced" "C">
programs.
Given that C++ makes “virtual” optional instead of standard behaviour,
I’d say that C++ is in fact designed to be used that way.
There's different semantics with and without a 'virtual' specification.
Precisely. And consider what the meaning of a non-virtual destructor is:
it is essentially always the wrong thing to do.
Les messages affichés proviennent d'usenet.