Michael Paquier <mich...@paquier.xyz> writes: > As of [1], I have been playing with the compile time assertions that > we have for expressions, declarations and statements. And it happens > that it is visibly possible to consolidate the fallback > implementations for C and C++. Attached is the result of what I am > getting at. I am adding this patch to next CF. Thoughts are > welcome.
cfbot reports this doesn't work with MSVC. Not sure why --- maybe it defines __cpp_static_assert differently than you're expecting? regards, tom lane