Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2003-11-11 08:58:00

Martin Wille wrote:
> A downside of this approach is that operator->(),
> operator*() and .reset(p) (for p!=0) for this
> implementation could throw (due the underlying vector
> failing to be expanded). However, .get(), .release(),
> .reset(0) and the dtor could be made nothrow.

.reset(0) is aka .dispose() and it has throw()-nothing
ES. operator->() and operator*() shall simply assert()
on .get() and also be nothrow. Oder? You might want to
take a look at:

<> -> <>



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