Skip to content

Monthly Archives: November 2010

CPP Common Knowledge notes!!


Item #11 : Compiler puts stuff in classes. Compiler puts a virtual function table ptr in each class object with virtual functions. Virtual function table pointer not same across platforms!! Compiler may not put all these extra constructs in a struct. Virtual inheritance is required when the diamond inheritance is causing issues. For example: Item […]

?php echo( date(