Boost logo

Boost Users :

From: Scott Lamb (slamb_at_[hidden])
Date: 2004-04-06 14:12:46


On Apr 6, 2004, at 1:47 PM, GoochRules! wrote:

> I am attempting to do this in vs.net 2003:
>
> int f(HANDLE, HANDLE, HANDLE);
>
> int main(int argc, char* argv[])
> {
> HANDLE x;
> HANDLE y;
> HANDLE z;
>
> boost::thread* p = new boost::thread(boost::bind(f, x, y, z);

It wants a void () function. You've given it an int () one. I'm not
sure if there's a really slick way to discard that return value.
Anyone?


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