Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-03-13 08:50:23


Kevlin Henney wrote:
> In article <4.3.2.7.2.20030313072035.025d4968_at_[hidden]>,
> Beman
> Dawes <bdawes_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.


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