| От | Peter Eisentraut |
|---|---|
| Тема | Re: [HACKERS] static assertions in C++ |
| Дата | |
| Msg-id | d17aa40f-8255-a822-367b-da14e684eed8@2ndquadrant.com обсуждение |
| Ответ на | Re: [HACKERS] static assertions in C++ (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: [HACKERS] static assertions in C++
|
| Список | pgsql-hackers |
On 12/20/17 00:57, Tom Lane wrote: > I do not have a well-informed opinion on whether > > #if defined(__cpp_static_assert) && __cpp_static_assert >= 200410 > > is an appropriate test for static_assert() being available, but I'm > pretty suspicious of it because none of my C++ compilers seem to > take that path, not even recent stuff like clang 9.0.0. For clang, you apparently need to pass -std=c++11 or higher. With g++ >=6, that's the default. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера