Boost logo

Boost :

From: me22 (me22.ca_at_[hidden])
Date: 2006-06-09 09:51:22


On 6/9/06, Martin Bonner <martin.bonner_at_[hidden]> wrote:
> No. They all have AT LEAST 8 bits, but there are certainly C
> implementations with 9-bit char and 32-bit char. I don't know if any of
> these have C++ compilers (but the standard certainly permits it). (You
> might of course decide to explicitly limit your library to 8-bit char
> platforms only.)
>
How do those C implementations handle I/O? Does fgetc actually give
the next 9 or 32 bits of the file?

If, for example, the sockets implementation actually filled all 9 bits
in a byte on a recv, I could see that being a portability nightmare...

~ Scott McMurray


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