Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-19 00:10:06

----- Original Message -----
From: "bill_kempf" <williamkempf_at_[hidden]>

> I hesitate to say this because I don't want to argue the point too
> much since I mostly agree with the idea in general. However,
> allocating it on the stack will be no more disastrous (probably less
> so) then sharing it across threads. In other words I'd envisioned
> the usage to be like that of the scoped_lock classes, meant to be
> used on the stack and never shared between threads. The user can
> violate this, but if they do it's a simple programming error. We
> can't prevent them from shooting themselves in the foot.

In this case, sure we can. Shouldn't we, just on principle?

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