|
From: | Hans Aberg |
Subject: | Re: %union errors that shouldn't be there |
Date: | Thu, 24 Mar 2005 00:11:27 +0100 |
At 19:34 +0100 2005/03/23, Laurence Finston wrote:
> One would need tobe aware that the C++ unionsThe rest of this sentence was missing.
If one adds such semantics to the C++ union, one needs to be aware of that it differs from that of the C union. I think this should be without problem, as one cannot only mix the two languages using 'extern "C"' linkage from C++ for functions only. Perhaps there is a problem if the function has a C union as an argument. But then it does not have any non-trivial constructors to keep track of. So perhaps it works.
-- Hans Aberg
[Prev in Thread] | Current Thread | [Next in Thread] |