C++ Logo

std-proposals

Advanced search

Re: [std-proposals] A draft for a std::arguments proposal

From: Thiago Macieira <thiago_at_[hidden]>
Date: Tue, 15 Oct 2024 16:48:02 -0700
On Monday 14 October 2024 22:33:36 GMT-7 Jeremy Rifkin via Std-Proposals
wrote:
> > Is std::arguments modifiable?
>
> From the paper: "std::arguments is entirely read-only in order to not
> introduce dangers surrounding global mutable state."
>
> Jeremy

Well, then the rest of my email applies: what's the path toward making it
modifiable?

A forever-read-only std::arguments is dead-on-arrival for Qt. We *must* modify
the arguments and remove options that we've processed, so the applications
don't have to.

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

Received on 2024-10-15 23:48:10