|
Boost : |
Subject: Re: [boost] [ptr_container] clone_ptr library
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2010-05-19 09:28:59
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 19 May 2010, raffimoni wrote:
> Hello everybody,
> I did not find any boost library that handle with a situation described
> below, so that I request for your comments. Is there any interest in
> such a library?
FWIW, the generic smart pointer library I put in the sandbox some time ago
(haven't worked on it in 9 months) includes a generic_ptr::cloning, which is
similar to what you are proposing:
https://svn.boost.org/trac/boost/browser/sandbox/fmhess/
It also includes generalized versions of shared_ptr, weak_ptr, intrusive_ptr,
and a generic_ptr::monitor which is a automatic-mutex-locking pointer. The
library also includes support for performing operations on generic
pointer-like objects, like casting, pointer_traits, and rebinding to a
different pointed-at type. Unfortunately, I only got as far as code and some
tests (no docs) before losing focus on it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkvz55wACgkQ5vihyNWuA4XocACg0YGNArFW+m/63IY41wOnDoAo
ODgAoLlXAB8Ne+mUZmvjg6AsT/nVwcVL
=QJgS
-----END PGP SIGNATURE-----
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk