|
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:
<http://tinyurl.com/uj61> -> <http://tinyurl.com/uj5x>
regards,
alexander.
-- www.google.com/groups?selm=3F72E463.6CB205A8%40web.de
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk