|
Boost : |
From: Martin (adrianm_at_[hidden])
Date: 2005-01-17 02:07:41
Michael Walter <michael.walter <at> gmail.com> writes:
>
> But this will not fix the potential bug it's warning about.
>
> Michael
Not sure how it works in VC8 but in VC7 there were several false warnings.
one example:
cout << size_t(100) << endl;
will give you a warning because the "unsigned int" overload is used to output
the value. This could be a problem if size_t is 64 bits.
But if size_t really is 64 bits, the int64 overload would be used so there is
no portability problem here.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk