This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: using offsetof with g++
- From: Michael Matz <matz at suse dot de>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: Joe Buck <jbuck at synopsys dot com>, Doug Evans <dje at transmeta dot com>,<gcc at gcc dot gnu dot org>
- Date: Thu, 6 Nov 2003 22:51:57 +0100 (CET)
- Subject: Re: using offsetof with g++
Hi,
On 6 Nov 2003, Gabriel Dos Reis wrote:
> The issue is whether or that initialization could be provided in a
> non-"compromising" way -- such ways (like generalized initializers) are
> already subject of active works.
I see. Although it remains to be seen if it's really worthwhile to add a
new language construct for something which can already be expressed quite
conveniently, just to work around this specific issue which also could be
fixed by relaxing the constraints on offsetof().
Ciao,
Michael.