Changes between Version 2 and Version 3 of code/doc/SubclassIdentifier
- Timestamp:
- Feb 26, 2008, 5:52:22 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/SubclassIdentifier
v2 v3 6 6 7 7 [wiki:SubclassIdentifier] is a template. The template-class defines the needed base-class of an assigned Identifier. You can only assign [wiki:Identifier Identifiers] representing a class which is derived from the given base-class (or the base-class itself). If you try to assign an Identifier that's not derived from the base-class, you get an error. 8 9 Usage: SubclassIdentifier<BaseClass> name = Class(SubClass); where SubClass isA BaseClass. 8 10 9 11 == Examples ==