| От | Tom Lane |
|---|---|
| Тема | Re: Refactor compile-time assertion checks for C/C++ |
| Дата | |
| Msg-id | 17445.1583617488@sss.pgh.pa.us обсуждение |
| Ответ на | Refactor compile-time assertion checks for C/C++ (Michael Paquier <michael@paquier.xyz>) |
| Ответы |
Re: Refactor compile-time assertion checks for C/C++
|
| Список | pgsql-hackers |
Michael Paquier <michael@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
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера