TDblQueLink
An object of this type is embedded within a class T
, so
that any object of type T
or any object of a type derived from
T
can be made part of a doubly linked list.
For a class CAnyClass
, insert a declaration for
TDblQueLink
at a suitable point.
class CAnyClass : CBase
{
//... class members
TDblQueLink link;
//... class members
};
The declaration of TDblQueLink
can be anywhere within
CAnyClass
, provided that its offset from the beginning of
CAnyClass
is divisible by four.