8 ms·
C++ did not have templates when the first commercial compilers shipped and the first books were published. It got templates around 1990, five years after the f
by rst 9y ago
C++ did not have templates when the first commercial compilers shipped and the first books were published. It got templates around 1990, five years after the first release of a commercial C++ compiler and the first publication of "The C++ Programming Language".
ref: http://www.stroustrup.com/hopl-almost-final.pdf http://www.stroustrup.com/hopl-almost-final.pdf
- pjmlp 9y agoC++ was only set in stone in 1998 with the release of ANSI C++98. Until then, it was a moving target, with C++ compilers catching up with CFront and ongoing work at ANSI/ISO meetings.