C++ Logo

std-proposals

Advanced search

Re: [std-proposals] PROPOSAL: reintroduce tag namespace

From: Simon Schröder <dr.simon.schroeder_at_[hidden]>
Date: Mon, 21 Sep 2026 10:31:26 +0200
On Mon, Sep 21, 2026 at 10:21 AM Jonathan Wakely via Std-Proposals <
std-proposals_at_[hidden]> wrote:

>
> If you get collisions, it means you have something like struct X and enum
> X, which is stupid. Pick better names.
>
>From a quick read-up: struct, union, and enum share a single namespace. So,
struct X and enum X are not allowed in C.

Though, I get the feeling that Liam guy is trolling us. He should just be
using C if he thinks all these features are superior.

Received on 2026-09-21 08:32:04