Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-04-04 20:03:47

On Wed, 4 Apr 2001, David Abrahams wrote:
abraha> argument deduction are one example. Another example is the that of
abraha> "forwarding constructors" for such things as smart pointers (i.e. imagine
abraha> you could construct auto_ptr<T> with the arguments that get passed to any of
abraha> T's constructors, thereby building the referent). I had to use these all
abraha> over the place in the Boost.Python library

Have you seen the solution for forwarding constructors in the paper at the
C++ Workshop in Erfurt?

I'm not sure it has everything you were looking for, but it might be
pretty close. I tried the technique out in the MTL prototype I posted. It
seemed to work pretty well.


 Jeremy Siek www:
 Ph.D. Candidate email: jsiek_at_[hidden]
 Univ. of Notre Dame work phone: (219) 631-3906

Boost list run by bdawes at, gregod at, cpdaniel at, john at