C++ Logo

liaison

Advanced search

Re: [wg14/wg21 liaison] Atomics papers

From: Joseph Myers <joseph_at_[hidden]>
Date: Tue, 9 Feb 2021 22:57:23 +0000
On Tue, 9 Feb 2021, Uecker, Martin via Liaison wrote:

> One way forward for C could be to decouple the qualifier
> and the specifier and make casts of non-atomic types
> possible. _Atomic(T) would then be an _Atomic-qualified
> type which has additional properties not implied by
> the qualifier (stricter alignment) and which is compatible
> to C++.

Since the two forms of _Atomic are just alternative notation for writing
the same type (and so are the atomic_* names in stdatomic.h), changing
that now would be clearly incompatible with existing code and I think very
much a bad idea.

-- 
Joseph S. Myers
joseph_at_[hidden]

Received on 2021-02-09 16:57:31