Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - virtual_base_class definition http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   Virtual_Base_Class Definition
   A base class is specified as virtual by placing the keyword virtual in
   front  of the base class name in the derivation list for  the  derived
   class. The relative placement of the keyword virtual and the  keywords
   public or private is not significant, for example:

   class derived :virtual public base1, public virtual
    base2
   {
   // class body
   };


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson