Structs can inherit from structs. This is how the various interator categories inherit from each other. Structs can also inherit from classes.
Reference: The C++ Standard Library: A Tutorial and Reference by Nicolai M. Josuttis. Addison-Wesley, 1999, p. 284.
Sunday, July 4, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment