https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122738
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2025-11-18
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The alias template was suggested in the 23 Oct 2020 LWG telecon, so that the
macro would not expand directly to std::atomic and so would not require the
inclusion of <atomic> ... but I have no idea how the wording expects that to
work. If the alias template denotes a specialization of std::atomic then
std::atomic still needs to be defined before _Atomic(T) can be used.
I still think stdatomic.h was a mistake and should never have been added.