Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-04-02 Thread Kuba Ober
On wtorek 01 kwiecień 2003 09:29 am, Angus Leeming wrote: > Kuba Ober wrote: > > I guess that for all practical matters it's all about whether one wants > > to refer to member variables as > > > > m_emergencyExit // m_ prepended > > > > or as > > > > this->emergencyExit > > > > I guess getting rid

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-04-01 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Tue, Apr 01, 2003 at 03:34:13PM +0200, Lars Gullik Bj?nnes wrote: | | > Right. And with gcc this will be version 3.4. | > | > Due this fall or something. | > | > Thanks for finding all these nice ansers. | | Well, I still didn't see a rationale :)

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-04-01 Thread John Levon
On Tue, Apr 01, 2003 at 03:34:13PM +0200, Lars Gullik Bj?nnes wrote: > Right. And with gcc this will be version 3.4. > > Due this fall or something. > > Thanks for finding all these nice ansers. Well, I still didn't see a rationale :) john

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-04-01 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Actually, we'd better get used to this because compilers will eventually | start insisting we do so. Here's the definitive answer posted by "White | Wolf" on comp.lang.c++: Right. And with gcc this will be version 3.4. Due this fall or something. T

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-04-01 Thread Angus Leeming
Kuba Ober wrote: > I guess that for all practical matters it's all about whether one wants to > refer to member variables as > > m_emergencyExit // m_ prepended > > or as > > this->emergencyExit > > I guess getting rid of m_blah pollution (in case of my own code, at least) > from the class decl

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-04-01 Thread Kuba Ober
On czwartek 27 marzec 2003 07:00 pm, Angus Leeming wrote: > On Thursday 27 March 2003 11:55 pm, John Levon wrote: > > On Thu, Mar 27, 2003 at 11:42:29PM +, Angus Leeming wrote: > > > template > > > class B : public T > > > { > > > public: > > > void foo() > > > { > > >

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-03-27 Thread John Levon
On Fri, Mar 28, 2003 at 12:00:06AM +, Angus Leeming wrote: > Me neither and nor, it would appear do the folks on comp.lang.c++. Point your > news reader there and have a look at the thread > Why is "this->member_variable" better code than "member_variable"? Looked. So it must be a str

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-03-27 Thread Angus Leeming
On Thursday 27 March 2003 11:55 pm, John Levon wrote: > On Thu, Mar 27, 2003 at 11:42:29PM +, Angus Leeming wrote: > > template > > class B : public T > > { > > public: > > void foo() > > { > > if (emergency_exit) > > ... > > } > > }; > > > > >

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-03-27 Thread John Levon
On Thu, Mar 27, 2003 at 11:42:29PM +, Angus Leeming wrote: > template > class B : public T > { > public: > void foo() > { > if (emergency_exit) > ... > } > }; > > > And how would "this->" assist in telling the > > compiler that it is from the

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-03-27 Thread Angus Leeming
> | > | Are you saying that member variables must now be accessed with an > | > | explicit "this->" ? Or only those in base classes? Or only those in > | > | template classes? > | > > | > base classes. > | > | Templatized base classes though ? Or something. I'd love to see an > | explanation (and

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-03-27 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Thu, Mar 27, 2003 at 10:31:14PM +0100, Lars Gullik Bj?nnes wrote: | | > | Are you saying that member variables must now be accessed with an explicit | > | "this->" ? Or only those in base classes? Or only those in template | > | classes? | > | > base

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-03-27 Thread John Levon
On Thu, Mar 27, 2003 at 10:31:14PM +0100, Lars Gullik Bj?nnes wrote: > | Are you saying that member variables must now be accessed with an explicit > | "this->" ? Or only those in base classes? Or only those in template > | classes? > > base classes. Templatized base classes though ? Or someth

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-03-27 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > | - if (emergency_exit_) { | > | + if (this->emergency_exit_) { | > | | > | For the love of God, WHY? Lars, the latest and greatest doesn't | > | necessarily mean that it's right. This is clearly ridiculous. | > | >

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-03-27 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > | - if (emergency_exit_) { | > | + if (this->emergency_exit_) { | > | | > | For the love of God, WHY? Lars, the latest and greatest doesn't | > | necessarily mean that it's right. This is clearly ridiculous. | > | >

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-03-27 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | - if (emergency_exit_) { > | + if (this->emergency_exit_) { > | > | For the love of God, WHY? Lars, the latest and greatest doesn't > | necessarily mean that it's right. This is clearly ridiculous. > > According to how the gurus interpret the C++ standard, this

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-03-27 Thread Lars Gullik Bjønnes
ied files: | > lyx-devel/src/: ChangeLog lyxgluelength.h lyxlength.h text2.C | > lyx-devel/src/frontends/controllers/: ChangeLog | > ControlDialog.tmpl | > | > Log message: | > fix some C++ parsing bugs | | - if (emergency_exit_) { | + if (this->emergency_exit_) { | | F

Re: lyx-devel src/: ChangeLog lyxgluelength.h lyxlength.h text2.C ...

2003-03-27 Thread Angus Leeming
[EMAIL PROTECTED] wrote: > CVSROOT: /usr/local/lyx/cvsroot > Module name: lyx-devel > Repository: lyx-devel/src/frontends/controllers/ > Changes by: [EMAIL PROTECTED] 03/03/27 18:38:24 > > Modified files: > lyx-devel/src/: ChangeLog lyxgluelength.h lyxlength.