Boost logo

Boost :

Subject: Re: [boost] [Booster] Or boost is useless for library developers
From: Isidor Zeuner (boost_at_[hidden])
Date: 2010-05-15 13:40:49


> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk