Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #69778

Re: [QT creator on "nix"] - getting a strict 8 bit (1 byte) array with no padding

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c++
Subject Re: [QT creator on "nix"] - getting a strict 8 bit (1 byte) array with no padding
Date 2019-11-24 13:05 -0800
Organization None to speak of
Message-ID <lnmuclvvce.fsf@kst-u.example.com> (permalink)
References (13 earlier) <qrb1ga$5ls$1@dont-email.me> <lnzhgmwd7n.fsf@kst-u.example.com> <qrcgr3$8gm$1@dont-email.me> <lnr21yw09k.fsf@kst-u.example.com> <qrdoe9$qdb$1@dont-email.me>

Show all headers | View raw


Soviet_Mario <SovietMario@CCCP.MIR> writes:
> On 24/11/2019 02:06, Keith Thompson wrote:
[...]
>> To be very clear, if you need an unsigned integer type of at least 8
>
> well strictly speaking I need a type of EXACTLY 8 bits, not more
>
>> bits, there is almost no good reason not to use uint8_t.  There is no
>> good reason to use some system-specific (or even undocumented)
>> equivalent.

Yes, I meant exactly.  I have no idea why I typed "at least".

[...]

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for Philips Healthcare
void Void(void) { Void(); } /* The recursive call of the void */

Back to comp.lang.c++ | Previous | Next | Find similar | Unroll thread


Thread

Re: [QT creator on "nix"] - getting a strict 8 bit (1 byte) array with no padding Keith Thompson <kst-u@mib.org> - 2019-11-24 13:05 -0800

csiph-web