
30 Aug
2007
30 Aug
'07
2:14 p.m.
Dowie, Martin (SELEX) (UK) wrote:
Neal,
I just tested this out last night and it already achieves this (on reasonably modern compilers ;-)
There should still be some differences, because of the ABI. C++ compilers usually use a mangled C ABI, which behaves differently for struct or class types, even if those have the same size and alignment requirements as some other built-in types.