C++ Logo


Advanced search

Subject: Re: [std-proposals] Conditional final class-virt-specifier
From: Thiago Macieira (thiago_at_[hidden])
Date: 2020-07-15 11:30:13

On Wednesday, 15 July 2020 08:02:54 PDT Arthur O'Dwyer via Std-Proposals
> the keyword doesn't really *do* anything except documentation

It could allow the compiler to devirtualise function calls, since a pointer to
a final class can only point to an object of that particular class.

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

STD-PROPOSALS list run by std-proposals-owner@lists.isocpp.org

Standard Proposals Archives on Google Groups