Date: Tue, 03 Feb 2026 07:08:06 -0800
On Monday, 2 February 2026 23:39:13 Pacific Standard Time FPE via Std-Proposals
wrote:
> While I understand the concerns raised by Thiago Macieira and Jason
> McKesson about prioritizing pure C semantics (stopping at the first null
> for safety/reliability with C APIs), I believe the risks of breaking
> consistency with string_view outweigh that in most cases – especially since
> string_view already trusts user input in similar ways. Keeping alignment
> makes the type much more usable in modern C++ code without surprising
> developers.
And makes it less useful for the purpose it intends, which means we don't
actually need anything.
This is my opinion.
wrote:
> While I understand the concerns raised by Thiago Macieira and Jason
> McKesson about prioritizing pure C semantics (stopping at the first null
> for safety/reliability with C APIs), I believe the risks of breaking
> consistency with string_view outweigh that in most cases – especially since
> string_view already trusts user input in similar ways. Keeping alignment
> makes the type much more usable in modern C++ code without surprising
> developers.
And makes it less useful for the purpose it intends, which means we don't
actually need anything.
This is my opinion.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel Data Center - Platform & Sys. Eng.
Received on 2026-02-03 15:08:19
