This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Something about sizeof(char)


On Mon, 2004-06-14 at 21:04, Paolo Carlini wrote:
> Dhruv Matani wrote:
> 
> >Hi,
> >	Is there any way of knowing whether on a platform the sizeof(char)
> >being always one is actually one byte == 8-bits? Or 1 is defined as more
> >than 8-bits.
> >  
> >
> For this there is the predefined macro |__CHAR_BIT__|

Thanks!

-- 
        -Dhruv Matani.
http://www.geocities.com/dhruvbird/

Proud to be a Vegetarian.
http://www.vegetarianstarterkit.com/
http://www.vegkids.com/vegkids/index.html



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]