Date: Fri, 06 Feb 2026 18:01:19 -0800
On Friday, 6 February 2026 17:51:13 Pacific Standard Time Henry Miller via Std-
Proposals wrote:
> Or perhaps we should open the bike-shed: do we want a _view here, or do we
> want something only somewhat similar but that allows other operations.
I'll repeat what I've said: that "something only somewhat similar" is
std::string. It's NUL-terminated and modifiable. If some API inserts a NUL in
the middle, that can be found via strlen and the string resized.
Proposals wrote:
> Or perhaps we should open the bike-shed: do we want a _view here, or do we
> want something only somewhat similar but that allows other operations.
I'll repeat what I've said: that "something only somewhat similar" is
std::string. It's NUL-terminated and modifiable. If some API inserts a NUL in
the middle, that can be found via strlen and the string resized.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel Data Center - Platform & Sys. Eng.
Received on 2026-02-07 02:01:34
