|
From: Matthias S. <zz...@ge...> - 2015-03-28 09:19:15
|
On 27.03.2015 23:18, Florian Krohm wrote: > > I like the implementation of VKI_STATIC_ASSERT (without the C++ > mumbo-jumbo) better than what I came up with, as it avoids adding a > symbol. So I would use that approach for VEX/VG_STATIC_ASSERT as well. Maybe it is possible to use static_assert (C++-11) or _Static_assert (should be in C11) if the compiler supports it. Only in other cases the code could fall back to a seperate implementation. Regards Matthias |