Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-10-02 07:04:44

"Howard Hinnant" <hinnant_at_[hidden]> wrote in message
| On Sep 26, 2004, at 10:28 AM, Pavol Droba wrote:

| container<sole_ptr<T>> will have the same overhead as that demonstrated
| in the Smart Container library. A big difference will be that
| iterators into the container will dereference smart pointers, and not
| the pointed-to elements. I also anticipate C++0X will contain some
| really slick indirect_iterator types that will transform
| container<sole_ptr<T>>::iterator appropriately. These will likely be
| heavily influenced by (if not based on) the Boost.Iterator Library.

This brings up a question: how should these iterators cope with nulls
as you intend sole_ptr<T> to allow? Afterall, if the iterator is indirected it
needs to
assume non-null values.



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