From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-08-30 10:14:34


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.