C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Ensure ABI compatibility at runtime -- std::layout_of

From: Thiago Macieira <thiago_at_[hidden]>
Date: Thu, 07 Nov 2024 10:22:07 -0800
On Thursday 7 November 2024 07:29:38 Pacific Standard Time Jeremy Rifkin via
Std-Proposals wrote:
> My suggestion: Rrquire plugins to publish a C string with some identifier
> indicating the standard library being used (e.g. "libstdc++" or "libcxx"
> depending on preprocessor macros set by the libraries). Then check that on
> load.

Prior to the load.

That means you need to require your OS to provide a way to get that string for
a potential plugin before it is loaded.

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

Received on 2024-11-07 18:22:10