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.
No comments:
Post a Comment