C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Optimize away VTBL when using single inheritance

From: Arthur O'Dwyer <arthur.j.odwyer_at_[hidden]>
Date: Thu, 9 Nov 2023 18:22:13 -1000
On Thu, Nov 9, 2023 at 4:50 PM Gašper Ažman via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> this is called devirtualization and it is a thing.
> https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html , look for
> "devirtualize"
>

Also relevant:
https://quuxplusone.github.io/blog/2021/02/15/devirtualization/

–Arthur

Received on 2023-11-10 04:22:26