Is there any boost-independent version of boost/tr1 shared_ptr

Posted by Artyom on Stack Overflow See other posts from Stack Overflow or by Artyom
Published on 2010-05-01T08:37:59Z Indexed on 2010/05/01 8:47 UTC
Read the original article Hit count: 287

Filed under:
|
|

I'm looking for independent implementation of boost/tr1 shared_ptr, weak_ptr and enable_shared_from_this.

I need:

  • Boost independent very small implementation of these features.
  • I need support of only modern compilers like GCC-4.x, MSVC-2008, Intel not things like MSVC6 or gcc-3.3
  • I need it to be licensed under non-copyleft LGPL compatible license like Boost/Mit/3-clause BSD.

So I can include it in my library.

Note - it is quite hard to extract shared_ptr from boost, at least BCP gives about 324 files...

© Stack Overflow or respective owner

Related posts about shared-ptr

Related posts about boost