C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Fix bad thread_local codegen (using an attribute?)

From: Jonathan Wakely <cxx_at_[hidden]>
Date: Thu, 22 Jan 2026 08:52:01 +0000
On Thu, 22 Jan 2026, 05:05 Levo D via Std-Proposals, <
std-proposals_at_[hidden]> wrote:

> > ...
> > Discussion over?
>
> Actually, yes, maybe. I may have to change the problem because my real
> code is more complex.
> Your inline suggestion on a variable appears to work on my test. I don't
> believe I ever seen inline being used with a variable before.
>

It's been part of the C++ standard since C++17.

Received on 2026-01-22 08:52:18