Boost logo

Boost :

From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2006-02-09 12:20:06


Stefan Slapeta <stefan <at> slapeta.com> writes:

>
> John Maddock wrote:
> >
> > I don't see any way around that unfortunately: the function call should be
> > deduced to work OK: it does on EDG and gcc compilers, and ultimately all
the
> > possible implementations use either this method or the current one (or
> > trivial variations). Is there any other way to work around the original
> > problem?
> >
>
> I don't see any, either, as CW seems not being able to handle function
> types at all here.
>

Have you tried my suggestion at a previous post before
throwing in the towel?

"...what happens if you change the second ctor of
any_conversion (which is only to kick in for function
references) from

    template <typename T> any_conversion(T&);

to

    template <typename T> any_conversion(T);"

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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