
11 Nov
2005
11 Nov
'05
1:58 p.m.
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 reflector.