https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124340

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It's more direct to prevent any derivation from the type:

class X final { ... };

Reply via email to