[cfe-dev] svn does not compile
mymlreader at gmail.com
Thu Jul 24 00:28:03 PDT 2008
On Mon, Jul 14, 2008 at 8:23 PM, Zhongxing Xu <mymlreader at gmail.com> wrote:
> If the operator overloading in ilist.h is commented, it compiles. Where
> is the ilist_iterator::operator defined then?
> I cannot find it in std::iterator.
Let me answer my silly question:
If we don't define operator as private functions, when operator is
called on ilist_iterator, ilist_iterator::operator pointer() will be called.
So it compiles. :-)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev