C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Parameters with default values at arbitrary positions, with empty arguments

From: Simon Schröder <dr.simon.schroeder_at_[hidden]>
Date: Fri, 27 Nov 2026 14:12:27 +0100
On Fri, Nov 27, 2026 at 1:57 PM David Brown via Std-Proposals <
std-proposals_at_[hidden]> wrote:

>
> For C, you could just have
>
> #define default
>
> and then include the "default" for clarity and portability. That would
> not force the use of "default", but it would at least allow it.
>
>
> C still has 'switch'. So, you shouldn't be doing that...

Received on 2026-11-27 13:13:06