The approach I take when faced with this kind of problem is to place an
assert statement in the main() as a check.
assert(sizeof(a) == sizeof(b))
will probably do the trick. These statements can be left out of the code
by setting a compile switch, usually NDEBUG.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John I. Hritz Photons have mass?!
jih at ox.com I didn't know they
313-930-9126 were catholic!