BBS: TELESC.NET.BR
Assunto: Re: C++20+
De: Digital Man
Data: Fri, 6 Feb 2026 16:30:00 -0800
-----------------------------------------------------------
hbRenb: hcRe: C++20+
bBynb: hcNightfox bto cfeoh bon cFri Feb 06 2026 01:30 pmn
> HBReNB: HCRe: C++20+
> BByNB: HCfeoh Bto CAll Bon CFri Feb 06 2026 06:04 pm
N >
> fe> auto seems SUPER compelling and looks like it might take some of the
> fe> drudgework out of using C++, at least for whimps like me who generally
> fe> reach for gc languages like Python first.
>
> fe> I knew C++ pretty well in the 90s. Hopefully one of these days I can
> fe> dust off those neurons and enjoy some of the newer features that have
> fe> come along since I last checked.
>
> The 'auto' keyword has been around in C++ since 2011 (added to the C++11
> standard).
The 'auto' keyword actually dates back to the pre-standard (i.e. 1978) C Programming language. It was a storage class modifier (the opposite meaning of 'static' when declaring a function-local variable). Since 'auto' was the default storage class, you didn't see it used much at all in C. So it was kind of safe to reuse for a different purporse in C++ and now the newest version of C (2023?) has a similar (but not identical) repurposing of the 'auto' keyword as how its used in C++.
--
HYdigital man n(rob)
Synchronet/BBS Terminology Definition #46:
IMAP = Internet Message Access Protocol
Norco, CA WX: 66.3F, 67.0% humidity, 8 mph W wind, 0.00 inches rain/24hrs
n---
mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net
-----------------------------------------------------------
[Voltar]