From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-10-24 10:49:26


Markus Schöpflin wrote:

> Sigh, obviously I don't manage to create a small reproducer for the
> error seen at http://preview.tinyurl.com/23towf. (Scroll down to the
> last five errors, ignore the rest, this has been fixed by now.)

Can you please try changing

    intrusive_ptr_add_ref( detail::get_pointer( m_ptr ) );

to

    T * p = detail::get_pointer( m_ptr );
    intrusive_ptr_add_ref( p );

?

It could be the intermediate get_pointer call that is tricking the compiler
into thinking that the call is not dependent.