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:13:29 -0800
On Wednesday 29 January 2025 07:29:02 Pacific Standard Time Frederick Virchanza
Gotham via Std-Proposals wrote:
> Pointer tagging is UB.

>From the C++ language it is. And *because* of that, the compiler can use the
extra bits available to it if it wants to, to implement pointer tagging or
colouring.

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

Received on 2025-01-30 00:13:37