Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-03-27 14:40:05

Howard Hinnant wrote:

> What if the above use case uses vector<MyClass> where MyClass contains
> a lot of expensive resources (or other data that needs to be kept
> around for one reason or another) *plus* a std::thread?


void old_detach()
    *this = std::thread();

Boost list run by bdawes at, gregod at, cpdaniel at, john at