Re: Idea: Remove boost:shared_ptr


Colin Doncaster <colin.d...@...>
 

Would

#include <tr1/memory>

be an option for now?

On 03-11-2010, at 6:00 AM, Malcolm Humphreys wrote:

+1 it should be pretty easy to add boost back as a dependency if we need to. I have seen a lot of projects copy the shared_ptr so it seems fairly common practice.

.malcolm

On 03 Nov, 2010,at 09:29 AM, Jeremy Selan <jeremy...@gmail.com> wrote:

Would anyone be against us copying the shared_ptr implementation
internally into OCIO? That would let us make the OCIO boost
dependency optional, which would let it compile on a plain-vanilla OSX
install. The only other part of the code that relies on boost is the
testing framework, which is already if def'd. So if the user has
boost, you'll get the testing If the user doesnt have boost, it will
skip testing.

Thoughts?

-- Jeremy

Join ocio-dev@lists.aswf.io to automatically receive all group messages.