View Single Post
  #9  
Old 01-17-2005, 23:46
mihaliczaj
 
Posts: n/a
there is a good book on this

There is a book
Stanley B. Lippman : Inside the C++ Object Model
that goes through the C++ language elements one by one and shows how they are actually compiled to C (based on the cfront compiler).
It covers all the issues including virtual base classes and all kinds of member function pointers as well.
Quote:
Originally Posted by omidgl
As far as I know most of C++ compilers first convert C++ code to C before compiling.
This was true for cfront, but when new language elements (exceptions for example) appeared it was no longer possible to do it that way. The book mentioned above describes the details.

AFAIK I have this book in digital format. PM me if you want it to be uploaded or e-mailed to you.

Last edited by mihaliczaj; 01-18-2005 at 20:26.
Reply With Quote