C++ Logo

std-proposals

Advanced search

Re: [std-proposals] [Idea] Null-terminated string view (c_str_view / c_wstr_view) – a simpler alternative/complement to zstring_view

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 01 Feb 2026 22:12:59 -0800
On Sunday, 1 February 2026 16:02:45 Pacific Standard Time Frederick Virchanza
Gotham via Std-Proposals wrote:
> Actually on a lot of platforms I can store the "saved byte" in the top
> 8 bits of the pointer (e.g. 64-Bit pointer on x86_64 only needs 48
> bits).

No, 57 bits.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel Data Center - Platform & Sys. Eng.

Received on 2026-02-02 06:13:08