C++ Logo

std-discussion

Advanced search

Re: Proposal for switch statement extension

From: Liam Graham <liamgraham_at_[hidden]>
Date: Mon, 21 Sep 2026 17:13:56 +0000
What about compatibility with old code? We don't like introducing breaking changes unless they really improve development. Also what is wrong with writing out std::visit? We have like 5 verbose cast types and STD library is already verbose as it is. https://lists.isocpp.org/std-discussion/2026/09/3467.php I don't see a benefit to this really, it kinda complicates matters for the compiler/code scanning utilities etc

Received on 2026-09-21 17:14:02