Boost logo

Boost :

From: Hansi Hansi (hansiPet_at_[hidden])
Date: 2007-08-24 14:13:26


I think I have found an bug in the shared_array implementation in version 1.34.1 for VC8.0. I have posted this mail also in the user list. Maybe one can fix this..(if it is really a bug)

I think that the implementation needs this:

#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;

it is the same implementation as used in shared_ptr. If I don't have this I get during the call a buffer overrun.

Best regards
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate
kostenlos testen.

Boost list run by bdawes at, gregod at, cpdaniel at, john at