|
Boost Users : |
From: Oleg V. Zhylin (ovz_at_[hidden])
Date: 2007-04-11 11:51:26
Hi,
Is there a reason to use type int in the code at line 487 in
oserializer.hpp?
int count = sizeof(t) / (
static_cast<const char *>(static_cast<const void *>(&t[1]))
- static_cast<const char *>(static_cast<const void
*>(&t[0]))
C++ standard draft states in section 5.3.3 [expr.sizeof]
The result is a constant of an implementation-defined
type which is the same type as that which is named
size_t in the standard header <cstddef>(18.1).
WBR Oleg V. Zhylin ovz_at_[hidden]
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net