Boost logo

Boost Users :

Subject: Re: [Boost-users] Avoiding reinventing the wheel for a public api with binary compatibility in mind
From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2009-11-06 16:28:54


On Thu, Nov 5, 2009 at 2:11 AM, Emil Dotchevski
<emildotchevski_at_[hidden]> wrote:
>>
>> Use boost::intrusive_ptr<> and make sure the intrusive_ptr_add_ref(T)
>> and intrusive_ptr_release(T) are implemented _inside_ your DLL.
>
> That is about as stable binary interface as boost::shared_ptr.
>

I can see shared_ptr internals changing, for example to make it more threadsafe.
I can't see intrusive_ptr changing - by its very nature its internals
are, well, external.

Tony


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net