Boost logo

Boost :

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

Kevlin Henney wrote:
> In article <[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, gregod at, cpdaniel at, john at