Adobe Source Libraries
1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
Final
Adobe Source Libraries
»
Libraries
»
Utility
Macros
#define
ADOBE_FINAL
(T)
Detailed Description
Macro Definition Documentation
◆
ADOBE_FINAL
#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.
Author
Doug Ahmann
Date
05/10/2001 - created
Example
class
foo :
ADOBE_FINAL
(foo)
{
};
ADOBE_FINAL
#define ADOBE_FINAL(T)
Definition
final.hpp:47
Example
class
bar { };
class
foo :
public
bar,
ADOBE_FINAL
(foo)
{
};
Definition at line
47
of file
final.hpp
.
Generated by
1.14.0