Boost logo

Boost Users :

Subject: Re: [Boost-users] [Thread] this_tread::sleep won't compile with gcc, "no match for operator+"
From: Alexey Malakhov (malakhov_at_[hidden])
Date: 2011-05-31 14:59:45


> No, it isn't. I don't know where the -> came from, but it's not in the
> boost source.
>
> > It's probably not supposed to be like that, but this is the only way it's
> > working for me. If anyone could
> > come up with a more elegant solution, I'd appreciate it greatly.
>
> Install the latest boost and use sleep(td) on all platforms.
>
> Anthony, thanks! It really has been something weird with my distrib, had to
reinstall it from scratch.
I must've messed up with it in some way for sure, but in any case - thank
you and Igor for pointing this out.

-- 
Take care,
Alexey Malakhov


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