|
Go up to RT++ Type Declarations Go forward to Example |
|
Atom(T);
Atom is a macro whose application declares some externally visible
symbols in the corresponding object file. For each type T,
Atom(T) must therefore appear in one C++ source file only.
init(). This function must call the init() function of
each RT++ type component.
scan(). This function must call the scan() function of
each RT++ type component.
Ref(T);
Ref becomes superfluous by uncommenting a few lines
in the RT++ header file rt++/rt_type.h. This makes virtually all of
the following declarations redundant.