
10 May
2006
10 May
'06
2:35 p.m.
Peter Dimov a écrit :
Thanks very much. You should probably report this managed/unmanaged inconsistency as a bug to Microsoft. In the meantime, can you please add the following:
That is on my to-do list, but I cannot access Microsoft bug website from my workplace...
#elif defined( _MANAGED )
static void unspecified_bool( this_type*** ) { }
typedef void (*unspecified_bool_type)( this_type*** );
operator unspecified_bool_type() const // never throws { return px == 0? 0: unspecified_bool; }
at shared_ptr.hpp:333 and verify if everything works for you.
Except that I had to add it line 283 (I have a plain out of the box 1.33 version), it seems to work now. Thank you, -- Loïc Joly