Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-11-17 15:21:03

"Peter Dimov" <pdimov_at_[hidden]> writes:

> * The default constructor and reset() will not throw; default-constructed
> shared_ptr (and weak_ptr) instances will have an unspecified use_count().


> * shared_*_cast will be renamed to sp_*_cast.

Why? Without rationale, this seems like a gratuitous change,
especailly since "sp" doesn't mean much to me.

> * use_count_is_zero will be renamed to bad_weak_ptr.

Why? Is a weak_ptr that doesn't refer to anything "bad"?

In the standard, at least, "bad_cast" refers to an operation, rather
than an object.

                       David Abrahams
   dave_at_[hidden] *
Boost support, enhancements, training, and commercial distribution

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