C++ Logo

sg16

Advanced search

Re: [isocpp-sg16] [isocpp-sg9] Thoughts on P4030R0: Endian Views

From: Jonathan Müller <jonathanmueller.dev_at_[hidden]>
Date: Mon, 22 Jun 2026 10:58:01 +0200
 On Mon, 22 Jun 2026, 10:36 Robert A.H. Leahy via SG9, <sg9_at_[hidden]>
wrote:

> Holding values in their "wire" endianness is common practice in every
> codebase I've ever worked on.
>

See also: sockaddr

I can imagine having a range of IP addresses and wanting to convert that to
a range of sockaddr. An endian conversion can be a useful intermediate step.

>

Received on 2026-06-22 08:58:14