Boost Users :
Subject: Re: [Boost-users] Using a shared_ptr in a boost::function definition?
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-05-04 09:22:50
> Hi Folks,
> I can't quite figure out how to do this correctly (*note* the types ending
> in Ptr are typedef'd boost::shared_ptr types)
> I have a function like so: -
> void setCompleteFunction(boost::function< void (int errorCode, const
> &data, HeaderMapPtr headers) > f);
> I try to bind to it: -
> this, _1, _2, _3, wc,myFile, filename.str(), carId, crc,
> I get quite a few errors indicating that it can't match to this pattern,
You are exceeding bind's limit of 9 arguments.
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