Index

NAME

CAST_REF


INCLUDE

include "macros.h"

KEYWORDS

casting, references


DESCRIPTION

Casting  of  a  class  referenec to another class reference type.
The actual object must also be of the new class type.


EXAMPLES

|  class aClass
   { ...
     DEF_VIRTUAL_CAST(bClass)
   };

 class bClass : public class aClass { VIRTUAL_CAST(bclass) };

 bClass b;

 aClass& ba = b;

 bClass& bref = CAST_REF( ba , bClass);


SEE ALSO

CAST_REF, CAST_PTR,DEF_VIRTUAL_CAST, macros,