4 May
2009
4 May
'09
1:22 p.m.
Ashley McConnell:
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 string &data, HeaderMapPtr headers) > f);
I try to bind to it: -
wc->setCompleteFunction(boost::bind(&NetworkEventHandler::receiveSkinDownloadResult, this, _1, _2, _3, wc,myFile, filename.str(), carId, crc, networkPlayerId));
I get quite a few errors indicating that it can't match to this pattern,
... You are exceeding bind's limit of 9 arguments.