Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-11-11 08:58:07

John Maddock wrote:
>> This is what needs to be done:
>> In shared_ptr.hpp, move #include <memory> to the top.
>> In weak_ptr.hpp, add
>> #include <memory>
>> #include <boost/detail/shared_count.hpp>
>> above
>> #include <boost/shared_ptr.hpp>.
>> I'll commit these fixes when the CVS starts working again.
> Amazing! Thanks, I didn't think that one was going to be solvable!

It's obvious now (in hindsight) that shared_ptr ought to have resided in
<tr1/shared_ptr> or <tr1/memory>, isn't it. Unfortunately it may be too late
now to fix that. But you still may want to raise the issue on the stdlib

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