|
Boost : |
Subject: Re: [boost] [signals2] -no instance of overloaded function
From: Tal Agmon (tal.boost_at_[hidden])
Date: 2011-01-28 07:48:10
thanks Ivan
I was wondering since signals2 is a great asset, shared_ptr in general
should be trackable whether I choose using boost or std::tr1;
Am I correct? or am I missing anything here?
On Fri, Jan 28, 2011 at 1:41 PM, Ivan Le Lann <ivan.lelann_at_[hidden]> wrote:
>
>
> ----- "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.
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk