`auto` keyword origins

Alexander Tretyak alextretyak2 at gmail.com
Mon Jun 26 00:00:48 UTC 2023


I'm just curious when was the `auto` keyword introduced in D?

The reason I am asking is because D language appeared in 2001, 
but C++ 
[proposal](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2003/n1478.pdf) with `auto` keyword new semantics dated April 28, 2003.

I always thought that `auto` in D was taken from C++. But what if 
it is opposite, i.e. C++11's `auto` was inspired by D's `auto`?


More information about the Digitalmars-d mailing list