Boost logo

Boost :

Subject: Re: [boost] [signals2] -no instance of overloaded function
From: Ivan Le Lann (ivan.lelann_at_[hidden])
Date: 2011-01-28 06:41:17


----- "Tal Agmon" <tal.boost_at_[hidden]> wrote :

> Hi All,
>
>
> I get error no instance of overloading ... when using <memory>
> shared_ptr
> can anyone explain why?
>
> tested on:
> windows7 vc100
>
>
(snip)
> sigNews.connect( signal_type::slot_type(
> &NewsStation::displayNews, newsStationPtr.get(),
> _1).track(newsStationPtr));
> sigNews(tal);
> }

Just a bet : I suspect the track method exspects a boost::shared_ptr.
Or something a boost::shared_ptr can convert to.

Ivan.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk