The use of RefPtr



I am unclear as to why these shared pointers are needed for certain
things. For example, why can I not pass a TreeModel that has been
statically allocated to ComboBox? If the TreeModel goes out of scope at
the same time as the ComboBox will there still be problems? Is there a
way to get ComboBox to accept a normal pointer and not worry about the
deallocation of the TreeModel?
--
        Eddie Carle
        
        This message has been signed with an RFC4880 signature. It is
        guaranteed to have originated from Eddie Carle and it's contents
        can be validated against it's signature.

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]