C++ Logo

std-proposals

Advanced search

Re: [std-proposals] PROPOSAL: Heading back towards automatic storage duration "auto"

From: Alejandro Colomar <une+cxx_std-proposals_at_[hidden]>
Date: Mon, 21 Sep 2026 14:52:34 +0200
> Date: 2026-09-21 12:04:58+0000
> From: Liam Graham via Std-Proposals <std-proposals_at_[hidden]>
>
> Auto in C++ means type deduction but given readability it would be wise to re-allow "auto" as automatic storage duration back into C++
>
> This is tricky because auto carries C++11 compatibility now but you can make it look "auto_storage" but that wouldn't blend in well. Instead you could allow two ways "auto X" type deduction "auto int X" compiler recognises it.

lol, this must surely be trolling.

-- 
<https://www.alejandro-colomar.es>

Received on 2026-09-21 12:52:39