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


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

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

Started byKeith Thompson <kst-u@mib.org>
First post2019-11-24 13:05 -0800
Last post2019-11-24 13:05 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.c++

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromKeith Thompson <kst-u@mib.org>
Date2019-11-24 13:05 -0800
SubjectRe: [QT creator on "nix"] - getting a strict 8 bit (1 byte) array with no padding
Message-ID<lnmuclvvce.fsf@kst-u.example.com>
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 */

[toc] | [standalone]


Back to top | Article view | comp.lang.c++


csiph-web