On Thu, 5 Aug 2021, H.J. Lu via Libc-alpha wrote: > I can use _Static_assert directly for C. How should I use static_assert > for C++? Probably based on a test of the value of __cplusplus. -- Joseph S. Myers joseph@codesourcery.com