Topic: History of 'class' keyword
Author: "Old Wolf" <oldwolf@inspire.net.nz>
Date: Thu, 23 Feb 2006 09:49:19 CST Raw View
===================================== MODERATOR'S COMMENT:
The answers to questions about C++ history are in "The Design and
Evolution of C++" by Bjarne Stroustrup, available in fine bookstores
everywhere. :-)
===================================== END OF MODERATOR'S COMMENT
I saw someone observe today that since 'class' and 'struct' are
so similar, why did anyone bother to introduce the 'class'
keyword?
Did the two have a substantially different meaning early in the
evolution of C++ ? If so, when was 'struct' modified to have its
current meaning?
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]