C++ Logo

liaison

Advanced search

Re: [wg14/wg21 liaison] On _Thread_local for better C++ interoperability with C (P2478)

From: Jₑₙₛ Gustedt <jens.gustedt_at_[hidden]>
Date: Sat, 12 Feb 2022 09:55:01 +0100
Robert,

on Fri, 11 Feb 2022 17:52:55 -0500 you (Robert Seacord via Liaison
<liaison_at_[hidden]>) wrote:

> I agree with the direction of this discussion so far. Does this
> initialization problem only affect thread_local or does it affect
> other storage classes as well?

This seems to be a very interestiong question to me. Using such a
specification for all objects of static storage that pretend to be C
compatible could be a good simplification of the interlanguage
interfaces. Maybe even for a `struct` type that is enclosed in `extern
"C"` the compilers could give better feedback.

Jₑₙₛ

-- 
:: INRIA Nancy Grand Est ::: Camus ::::::: ICube/ICPS :::
:: ::::::::::::::: office Strasbourg : +33 368854536   ::
:: :::::::::::::::::::::: gsm France : +33 651400183   ::
:: ::::::::::::::: gsm international : +49 15737185122 ::
:: http://icube-icps.unistra.fr/index.php/Jens_Gustedt ::

Received on 2022-02-12 08:55:04