C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Public inheritance with banned conversion to base

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 26 Jan 2025 08:43:13 -0800
On Friday 24 January 2025 14:45:58 Pacific Standard Time Arthur O'Dwyer via
Std-Proposals wrote:
> (3) more stable in case this is a long-lived
> shared-library ABI boundary.

That is a non-goal. If the standard libraries change the mangling, it's
usually for a good reason and it's going to be something you *do* want to have
reflected in your ABI. Trying to force a name such that mangled names remain
while the structure changed incompatibly is going to lead to hard-to-diagnose
bugs.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel DCAI Platform & System Engineering

Received on 2025-01-26 16:43:21