http://codereview.appspot.com/5437086/diff/1/src/PyZyInputContext.h File src/PyZyInputContext.h (right): http://codereview.appspot.com/5437086/diff/1/src/PyZyInputContext.h#newcode43 src/PyZyInputContext.h:43: class Candidates { Any reason we need make it ...
I think it is better because we can hide the details of implementation (e.g.
private member functions/variables).
It is also acceptable that we use pimple idiom.
Which do you think better? Or do you have any other solutions?
On 2011/11/30 17:35:18, hsumita wrote:
> I think it is better because we can hide the details of implementation (e.g.
> private member functions/variables).
> It is also acceptable that we use pimple idiom.
>
> Which do you think better? Or do you have any other solutions?
I think using virtual functions is a little expensive, if it is only for hiding
implementation detail and private data. You may check some Qt code, it uses a
different way to hide implementation and private data.
http://qt.gitorious.org/qt/qt/blobs/4.7/src/corelib/io/qfile.hhttp://qt.gitorious.org/qt/qt/blobs/4.7/src/corelib/io/qfile_p.h
Anyway, It is not a high priority issue, you may check in it now, and we could
refactor it later.
LGTM.
Issue 5437086: Modify API of candidates().
(Closed)
Created 14 years ago by hsumita
Modified 14 years ago
Reviewers: shawn.p.huang_gmail.com, penghuang, Peng
Base URL: https://github.com/pyzy/pyzy.git@master
Comments: 1