C++ Logo

std-proposals

Advanced search

Re: [std-proposals] D3803R0 More standard forms of main

From: Thiago Macieira <thiago_at_[hidden]>
Date: Wed, 23 Jul 2025 07:50:11 -0700
On Tuesday, 22 July 2025 12:58:07 Pacific Daylight Time Jan Schultke via Std-
Proposals wrote:
> It seems like if you just take the const
> correctness fixes for argv,

What *correctness*? It's *correct* for it to be non-const because the
arguments are modifiable and doing so usually updates what ps shows.

const *qualification* is fine.

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

Received on 2025-07-23 14:50:13