Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-01-17 12:33:20


Tobias Schwinger <tschwinger_at_[hidden]> writes:

> Arkadiy Vertleyb wrote:
>> "Tobias Schwinger" <tschwinger_at_[hidden]> wrote
>>>
>>> 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?
>
> /I/ don't know what T really is (MSVC won't tell me) ;-).

have you tried instantiating an un-defined template on T?

     template <class T> struct unknown;

then instantiate

     unknown<T>

or instantiate boost::mpl::print<T> if this could happen any number of
times, to avoid stopping compilation.

-- 
Dave Abrahams
Boost Consulting
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