|
Boost : |
From: Kevlin Henney (kevlin_at_[hidden])
Date: 2003-03-13 09:50:58
In article <003f01c2e967$81724c50$1d00a8c0_at_pdimov2>, Peter Dimov
<pdimov_at_[hidden]> writes
>>>
>>> VC++7 is not giving trouble with any tests other than
>>> lexical_cast_test. On it, the message begins:
>>>
>>> D:\boost\site-RC_1_30_0\boost\lexical_cast.hpp(142) : error C2065:
>>> 'InputStreamable' : undeclared identifier
>>
>> Which of course, is not the case :-> The problem does not appear to be
>> with the code.
>
>The code has
>
>template<typename InputStreamable>
> bool operator>>(InputStreamable &output);
>
>template<typename Char, typename Traits, typename Allocator>
> bool operator>>(std::basic_string<Char, Traits, Allocator> &output);
>
>This seems to require partial ordering. The second overload should probably
>be replaced with
>
>bool operator>>(std::string &output);
>
>bool operator>>(std::wstring &output);
>
>on deficient compilers.
Agreed. However, VC7 is not such a compiler, and the error is flagged in
a different location.
Kevlin
____________________________________________________________
Kevlin Henney phone: +44 117 942 2990
mailto:kevlin_at_[hidden] mobile: +44 7801 073 508
http://www.curbralan.com fax: +44 870 052 2289
Curbralan: Consultancy + Training + Development + Review
____________________________________________________________
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk