Boost logo

Boost Users :

From: Frank Mori Hess (fmhess_at_[hidden])
Date: 2008-02-11 23:39:05


On Monday 11 February 2008 04:49, Rob Desbois wrote:
> On Feb 10, 2008 11:55 PM, Frank Mori Hess <fmhess_at_[hidden]> wrote:
> > I think you might need to call factory like "this->factory()"
>
> I don't think so - in C++ AFAIU 'this->' is always implicit.

I just had a vague recollection of needing to explicitly use this-> in
certain cases. Ah, I've found it... I was trying to access a protected
member object in a base class from a derived class, and both of the
classes were templates.

-- 
Frank



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net