|
Boost : |
From: Marco Costalba (mcostalba_at_[hidden])
Date: 2008-03-13 00:03:49
On Thu, Mar 13, 2008 at 2:37 AM, David Abrahams
<dave_at_[hidden]> wrote:
>
> You should return std::auto_ptr, which -- unlike shared_ptr -- doesn't
> impose any permanent choice but is also safe.
>
Thanks for your suggestion, I will change that probably with an
additional code simplification that I've found as soon as I have
finished with extending the other toy I posted (Multi-signature
overload function) to support pointer-to-member function. The patch
I've added seems already to work, so I would think it's almost ready
modulo some extensive testing.
Marco
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk