lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove redundant occurences of this-> (issue 258870043 by address@hi


From: dak
Subject: Re: Remove redundant occurences of this-> (issue 258870043 by address@hidden)
Date: Thu, 23 Jul 2015 06:38:00 +0000


https://codereview.appspot.com/258870043/diff/1/lily/grob.cc
File lily/grob.cc (right):

https://codereview.appspot.com/258870043/diff/1/lily/grob.cc#newcode232
lily/grob.cc:232: /* This version of get_system is more reliable than
get_system ()
On 2015/07/23 05:50:38, Keith wrote:
What do you mean by "get_system is more reliable than get_system ()" ?

Actually, what did the original author mean by "more reliable than
this->get_system ()"?

I can perfectly well write "me->get_system ()" to call the non-static
member function get_system ().  I don't need a this-pointer to call it,
even though whatever pointer I call it through then becomes the
this-pointer _inside_ of the function.

To preserve meaning, there must be some to start with.

https://codereview.appspot.com/258870043/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]