C++ Logo

std-proposals

Advanced search

Re: Modern std::byte stream IO for C++

From: Thiago Macieira <thiago_at_[hidden]>
Date: Thu, 05 Mar 2020 17:52:38 -0800
On Thursday, 5 March 2020 15:53:03 PST Ryan Nicholl via Std-Proposals wrote:
> Okay, might have misread your post.
>
> I agree with the basic premise, we should not be introducing branches into
> the code if we know the endian at compile time.

I assume you mean the endianness of the stream, not of the program. The
endianness of the application itself is always known at compile time.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

Received on 2020-03-05 19:55:24