C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Make all data pointers intercompatible

From: Thiago Macieira <thiago_at_[hidden]>
Date: Wed, 29 Jan 2025 16:14:43 -0800
On Wednesday 29 January 2025 04:39:00 Pacific Standard Time Frederick Virchanza
Gotham via Std-Proposals wrote:
> All I'm asking for is that pointer arithmetic will be well-defined for
> all pointer types even when the address is unaligned -- and I think
> this won't affect any optimisers. In fact it won't even require a
> change to any modern compilers.

You haven't answered the most important question: why?

What does this allow you to do that it didn't before?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel DCAI Platform & System Engineering

Received on 2025-01-30 00:14:47