![]() |
|
#1
|
|||
|
|||
Virtual multiple inheritance: constructors orderCan anyone help me understand how the order of constructors works ina multiple inheritance and some virtual inheritance?
Below some examples CPP / C++ / C Code:
HEEEEELP!!!! Last edited by LuciWiz : 14-Jul-2007 at 11:30.
Reason: Please insert your C/C++ code between [cpp] & [/cpp] tags
|
|
#2
|
|||
|
|||
Re: virtual multiple inheritance: constructors order!!as u have given virtual key word there,it just denies to create duplicate copies in multipath inhritance so, as f is inherited the classes a,b,c,e it calls constructors starting from base class(a) so they printed in that order......
|
|
#3
|
|||
|
|||
Re: Virtual multiple inheritance: constructors orderWhat is virtual inheritance ? What virtual inheritance differ from normal public inheritance ?
Thanks for your help. Your help is greatly appreciated by me and others. |
Recent GIDBlog
Stupid Management Policies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apache2 virtual host problem | harzu | Apache Web Server Forum | 12 | 11-May-2007 15:38 |
| Difference between Virtual and Overloaded | Mofix | C++ Forum | 2 | 01-Dec-2006 10:35 |
| Help with Virtual Hosting Multiple Websites - Apache 2.2.2 | Cheesehead | Apache Web Server Forum | 1 | 08-Sep-2006 09:05 |
| Two virtual hosts, cgi script behaves differently on each | blimbo | Apache Web Server Forum | 0 | 04-Aug-2004 10:35 |
| Can't view pages from another machine on the Intranet | aevans | Apache Web Server Forum | 9 | 14-May-2004 03:26 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The