Boost Users :
From: Thomas Matelich (matelich_at_[hidden])
Date: 2005-08-23 11:32:27
I'm looking at ptr_vector to replace our wrapper around
vector<shared_ptr>. How do I correctly write the following:
I've tried plain iterators, dereferencing, *iter.base(), etc. I guess
I could reinterpret_cast<T*>(*iter.base()). Is there a better way?
Also, theres a typo in the docs. The examples page talks about using
allocate_clone, and I'm pretty sure its supposed to be new_clone (If
not, theres a typo in the tutorial).
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net