Final | ||||||||||||
Defines | |
| #define | ADOBE_FINAL(T) |
Define Documentation
| #define ADOBE_FINAL | ( | T | ) |
- A mixin class to ensure that a class cannot be derived from. The term "final" is a Java keyword, for which there is no C++ equivalent.
- See CUJ May 2001, Page 51 for more information.
- Credit to Shanker Chandrabose for the idea.
- Date:
- 05/10/2001 - created
- Example:
class foo : ADOBE_FINAL(foo) { };
- Example:
class bar { }; class foo : public bar, ADOBE_FINAL(foo) { };

