|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2001-04-05 02:02:34
As far as I can tell, this paper doesn't address the issues at all. The
ParameterAdapter template has all the problems I alluded to: it is
overloaded for a limited number of argumeents, and can't handle non-const or
volatile reference arguments. Am I missing something?
-Dave
----- Original Message -----
From: "Jeremy Siek" <jsiek_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Wednesday, April 04, 2001 9:03 PM
Subject: Re: [boost] Re: Is there plans to make stand-alone functor traits?
> 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?
>
> http://oonumerics.org/tmpw00/eisenecker.pdf
>
> 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.
>
> Cheers,
> Jeremy
>
> ----------------------------------------------------------------------
> Jeremy Siek www: http://www.lsc.nd.edu/~jsiek/
> Ph.D. Candidate email: jsiek_at_[hidden]
> Univ. of Notre Dame work phone: (219) 631-3906
> ----------------------------------------------------------------------
>
>
>
> To unsubscribe, send email to: <mailto:boost-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk