Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2005-01-18 07:25:30

On 1/17/05 4:19 AM, "Martin" <adrianm_at_[hidden]> wrote:

> Sorry, wrong example. Should have been
> cout << strlen("");
> or
> cout << vector<int>().size();
> which both give me warnings with /Wp64
> warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int',
> possible loss of data

Looks like your standard library has a bug: std::basic_ostream doesn't have
an "operator <<" overload for whatever extended type "std::size_t" maps to
(or the compiler has a bug in not finding it).

Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT hotmail DOT com

Boost list run by bdawes at, gregod at, cpdaniel at, john at