Boost logo

Boost :

From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2005-01-17 10:41:23


At Monday 2005-01-17 02:19, you 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

IMO this falls directly in Dinkumware's lap. ALL of the code was written
by them (well the headers).
It's fairly clear that there should be no restrictions on outputting the
return from .size()

>_______________________________________________
>Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
               "There oughta be a law"


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