
22 Jan
2014
22 Jan
'14
1:01 a.m.
On 22/01/2014 12:31, Quoth Nevin Liber:
On 21 January 2014 16:31, Gavin Lambert <gavinl@compacsort.com <mailto:gavinl@compacsort.com>> wrote:
Or worse, std::shared_ptr vs. boost::shared_ptr (as AFAIK there is no way to interop these without copying the underlying object, which breaks the semantics).
Well, you /can/, but it's a bit of a hack... <http://stackoverflow.com/questions/12314967/cohabitation-of-boostshared-ptr-and-stdshared-ptr>.
I was wondering if something along those sort of lines would work, after I posted that. But that's actually pretty clever. (Of course "clever" is not always a good thing in code.)