C++ Logo

std-proposals

Advanced search

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

From: Lénárd Szolnoki <cpp_at_[hidden]>
Date: Mon, 11 Apr 2022 18:10:38 +0100
Hi,

On Wed, 6 Apr 2022 12:55:44 -0400
Arthur O'Dwyer via Std-Proposals <std-proposals_at_[hidden]> wrote:

> See also
> https://quuxplusone.github.io/blog/2019/12/03/dress-shirt/

This won't win any beauty contest, but I came up with this CRTP
approach:

https://godbolt.org/z/Gzd4d9Gqn

Cheers,
Lénárd

Received on 2022-04-11 17:10:45