Boost logo

Boost :

From: Loïc Joly (loic.joly_at_[hidden])
Date: 2006-05-10 10:35:10


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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk