Boost logo

Boost Users :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-07-17 09:04:44


On Wednesday 17 July 2002 09:46 am, Angus Leeming wrote:
> class Foo {
> public:
> boost::signals::connection connect(slot_type const &) const;
> private:
> class Impl;
> boost::scoped_ptr<Impl> const pimpl_;
> };
>
> My problem is defining slot_type. If I have

There's a slot_type in the signal for exactly this reason, just use:

  boost::signals::connection connect(boost::signal0<void>::slot_type const&)
const;

        Doug


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