Boost logo

Boost Users :

Subject: Re: [Boost-users] [Function] Overloaded functor as a boost::function
From: Alexander Lamaison (awl03_at_[hidden])
Date: 2010-02-13 20:40:52


On Sun, 14 Feb 2010 01:11:21 +0000, Alexander Lamaison wrote:

> I'm trying to pass a function with an overloaded operator() to a function
> expecting a boost::function parameter. This fails to compile as it appears
> to pick the wrong overload.

My bad. I was using a subclass of the functor and name hiding came into
play. A 'using' declaration fixed this.

Thanks

Alex


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