Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2003-03-16 12:47:57


"Gennaro Prota" <gennaro_prota_at_[hidden]> wrote in message
news:jhm87vskc3fn1a4rkt8k67ehbr90fg73kp_at_4ax.com...
> [...]
> I don't know if it's useful or not but it's certainly usable. The fact
> that deduction fails in your case doesn't mean it fails always; and
> for named templates there's still the possibility to explicit specify
> template arguments. In your case, you could do:
> [...]
> foo f(x, (X*)0 );
> [...]

The problem is that it doesn't scale very well. I would like to
forward c'tors that take around 8-10 arguments.

Dave


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