This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ PATCH: Fix PR 13275


Richard Henderson <rth@redhat.com> writes:

| On Tue, Dec 16, 2003 at 11:34:44PM +0100, Gabriel Dos Reis wrote:
| > Yup.  I'm surprised it is implemented that way.  I would think the
| > obvious __offsetof__(type, member) would be the way to go...
| 
| Except this means doing very ugly things with the grammar.

More preceisely?

It implements something that is not offsetof, it is a real extension
-- let's call a cat a cat.  I'm not sure it is advisable to set the
precedent where this extension, which does  not implement offsetof,
is threated this way.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]