
27 Mar
2008
27 Mar
'08
10:22 a.m.
The failure is in sp_counted_impl.hpp:66: 64 template<class Ptr> 65 sp_counted_impl_pd(const Ptr & p, const A &a, const D &d ) 66 : this_allocator(a), D(d), m_ptr(p.get()) 67 {} p is of type offset_ptr<T> and m_ptr is of type T * Test case source, compiler output and quick fix patch (which is not fully correct, I suspect) are attached. $ g++ --version g++ (GCC) 4.2.3 (Debian 4.2.3-2) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.