Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-08-10 08:46:48


From: "Terje Slettebø" <tslettebo_at_[hidden]>

>
> This uses the same "rebind" method used in MPL, and with the help of Mat
> Marcus, I've got this to work on MSVC 6, too. The "T::template apply<N>"
> syntax gave an ICE without it.

I hope you just used the built-in MPL "apply" metafunction to do that:

mpl::apply1<F,arg1>::type === F::template apply<arg1>::type
mpl::apply1<F,arg1,arg2>::type === F::template apply<arg1,arg2>::type
...

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com


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