< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
On 11/14/13 11:47 AM, Scott Godin
wrote:
Yeah, the boost sharedptrs have gotten waaaaaay better; they just use low-level lock-free atomic stuff now (I assume the c++11 shared_ptr stuff is basically identical). If we want to make more use of these, we may want to consider updating our copy, use it in place of c++11 shared_ptr when that isn't available (with the same name), and maybe provide the old SharedPtr alias to keep source compat for downstream. I'm not quite sure what this would mean for ABI compat though. However, so much of resip assumes strong ownership that I don't think that sharing anything across, say, the stack/TU boundary is going to be a good idea. auto_ptr I'm totally fine with. Best regards, Byron Campen |