Thats it. It was guaranteed that atomic integer specializations are trivially constructible until c++ 20, however this is not the case anymore.
So this static_assert will fail starting with c++ 20
I ran into this while attempting to compile this under windows, microsoft stl library already follows the standard and reports assertion fail
https://godbolt.org/z/9WeonahxW
Thats it. It was guaranteed that atomic integer specializations are trivially constructible until c++ 20, however this is not the case anymore. So this static_assert will fail starting with c++ 20 I ran into this while attempting to compile this under windows, microsoft stl library already follows the standard and reports assertion fail https://godbolt.org/z/9WeonahxW