[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [lmi] Re: "consistent style for calling this->operator[]()" chang
From: |
Vadim Zeitlin |
Subject: |
Re[2]: [lmi] Re: "consistent style for calling this->operator[]()" change |
Date: |
Thu, 26 Oct 2006 17:34:55 +0200 |
On Thu, 26 Oct 2006 15:32:24 +0000 Greg Chicares <address@hidden> wrote:
GC> > So it seems like Evgeniy's version is more common than the alternative
GC> > one, although by lesser margin than I thought. But note that projects such
GC> > as gcc libstdc++ and STLport do use (*this)[] and I think they're worth of
GC> > emulation.
GC>
GC> I thought they wrote 'this' explicitly everywhere because of:
GC> http://www.comeaucomputing.com/techtalk/templates/#whythisarrow
This is only relevant in the template code and this isn't the case here.
GC> I don't mind changing to Evgeniy's version, in principle.
GC> I just want to introduce no unnecessary differences between
GC> branch and trunk before merging them. After the merge--that
GC> is, a month or so from now--I'd accept a set of changes that
GC> result in a consistent '(*this)[XXX]' style across the whole
GC> project.
This makes perfect sense, thanks,
VZ