
6 Nov
2009
6 Nov
'09
9:28 p.m.
On Thu, Nov 5, 2009 at 2:11 AM, Emil Dotchevski
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