In article <[EMAIL PROTECTED]>, Peter Dimov
<[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]     mobile: +44 7801 073 508
  http://www.curbralan.com        fax:    +44 870 052 2289
  Curbralan: Consultancy + Training + Development + Review
____________________________________________________________
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to