
15 May
2010
15 May
'10
5:40 p.m.
template <typename T> struct boost::abi::shared_ptr { virtual void delete() = 0; virtual void add_ref() = 0; //... };
Or maybe it is something else, but it is a simple bridge that you can hopefully keep compatible for a number of years, and can be converted to *my* shared_ptr.
Lather, rinse, repeat for other ABIs. Yes, this may be cumbersome, but no more than what you are already doing.
It is probably comparable to what boost::serialization does in terms of stripping of implementation details, which is why I wondered if a boost::abi framework could become a new boost module at some time. Best regards, Isidor