Boost logo

Boost :

Subject: Re: [boost] unsigned long vs unsigned int vs std::size_t (32b platform)
From: Thomas Suckow (thomas.suckow_at_[hidden])
Date: 2009-09-17 11:35:30


In response to the other questions,
> - should boost::uint32_t be typedefed to the same thing that
> std::size_t is on 32b platforms?
>
Most of the time, but doesn't have to be. std::size_t is defined to be
the return type of "sizeof".
> - Is the size of std::size_t fixed or dependant on the platform it is used on?
>
Platform Dependant

--
Thomas Suckow

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