Boost logo

Boost :

From: Phil Bouchard (philippe_at_[hidden])
Date: 2008-04-17 05:40:28


"Phil Bouchard" <philippe_at_[hidden]> wrote in message
news:fu75as$lb$1_at_ger.gmane.org...

>> "Memory usage having a power of 2 (sizeof(void *) * 2)"
>> What does this mean?
>
> sizeof(void *) + sizeof(void *) == sizeof(shifted_ptr<void>)

Sorry I meant:
sizeof(shifted_ptr<void> [256]) == sizeof(void *) * 512

I just wanted to point out it remains a multiple of 2 which is very
convenient (not a power but multiple).

-Phil


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