From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-03-13 15:00:10
"Peter Dimov" <pdimov_at_[hidden]> wrote in message
| Thorsten Ottosen wrote:
| > "David Abrahams" <dave_at_[hidden]> wrote in message
| > news:ubr9ow6b6.fsf_at_boost-consulting.com...
| >> There's no guarantee that the integer type will have sufficient size.
| > BOOST_STATIC_ASSERT( sizeof(void*) >= sizeof(std::size_t))
| > ?
| The reverse, probably.
| Technically, it's still not enough; sizeof gives you
| the size of the object in chars, not the number of value bits.
just so I get this, you're saying that even though sizeof( int ) == 4, the
could choose to use only the first two bytes for the representation?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk