Index

NAME

CAST_PTR



INCLUDE

include "macros.h"

KEYWORDS

casting, pointers


DESCRIPTION

Casting  of  a  class pointer to another class pointer 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) };

 aClass* ba = new bClass;

 bClass* b = CAST_PTR( ba , bClass);



SEE ALSO

CAST_REF, CAST_PTR,DEF_VIRTUAL_CAST, macros,