Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2006-01-17 09:29:17


"Tobias Schwinger" <tschwinger_at_[hidden]> wrote

> Typeof acts like a black hole in this context; the "laws of C++ physics"
seem not
> to apply any longer. There should be absolutely no reason for deduction to
fail
> like this:
>
> test.cpp(77) : error C2784: 'boost::spirit::positive<S>
boost::spirit::operator
> +(const boost::spirit::parser<DerivedT> &)' : could not deduce template
argument
> for 'const boost::spirit::parser<DerivedT> &' from 'T'

What's T? There seem to be a number of contexts when some types can't be
bound to const T&. For example VC71 can't do it from inside the template
when T is a function (see currently failig typeof test).

Regards,
Arkadiy


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