Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-12-12 10:46:54


I've been trying, unsuccessfully, to use the forward library to do what
the

   template<class T> inline std::auto_ptr<T> new_
     (/*variadic number args passed to T CTOR/*)

function shown in the attachment to:

http://lists.boost.org/Archives/boost/2007/12/131251.php

However, so far all I've got is shown in the attachment. But
that's not what, AFAICT, Abraham's new_does.

Could someone show me how to do Abraham's new with functional/forward?




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk