BBS: TELESC.NET.BR Assunto: Re: C++20+ De: Nightfox Data: Fri, 6 Feb 2026 18:18:00 -0800 ----------------------------------------------------------- hbRenb: hcRe: C++20+ bBynb: hcDigital Man bto cNightfox bon cFri Feb 06 2026 04:30 pmn >> The 'auto' keyword has been around in C++ since 2011 (added to the C++11 >> standard). DM> The 'auto' keyword actually dates back to the pre-standard (i.e. 1978) C DM> Programming language. It was a storage class modifier (the opposite DM> meaning of 'static' when declaring a function-local variable). Since DM> 'auto' was the default storage class, you didn't see it used much at all DM> in C. So it was kind of safe to reuse for a different purporse in C++ and DM> now the newest version of C (2023?) has a similar (but not identical) DM> repurposing of the 'auto' keyword as how its used in C++. Ah.. Interesting to know. Though I was thinking of "auto" just in its current use in C++. :) Nightfox n --- gSynchronetn Digital Distortion: digitaldistortionbbs.com ----------------------------------------------------------- [Voltar]