|
Boost :
|
- Next message: Peter Dimov: "Re: [boost] Boost.Threads, N2178, N2184, et al"
- Previous message: David Abrahams: "Re: [boost] Boost.Threads, N2178, N2184, et al"
- In reply to: Howard Hinnant: "Re: [boost] Boost.Threads, N2178, N2184, et al"
- Next in thread: Howard Hinnant: "Re: [boost] Boost.Threads, N2178, N2184, et al"
- Reply: Howard Hinnant: "Re: [boost] Boost.Threads, N2178, N2184, et al"
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?
Well...
void old_detach()
{
new_detach();
*this = std::thread();
}
- Next message: Peter Dimov: "Re: [boost] Boost.Threads, N2178, N2184, et al"
- Previous message: David Abrahams: "Re: [boost] Boost.Threads, N2178, N2184, et al"
- In reply to: Howard Hinnant: "Re: [boost] Boost.Threads, N2178, N2184, et al"
- Next in thread: Howard Hinnant: "Re: [boost] Boost.Threads, N2178, N2184, et al"
- Reply: Howard Hinnant: "Re: [boost] Boost.Threads, N2178, N2184, et al"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk