Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 virtual inheritance suggestion

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Dusan Posted - May 03 2013 : 02:19:01 AM
Hello, VAX could check for us if it would be better to use virtual inheritance in case of multipe inheritances to help us avoid diamond effect.

More info:
http://www.cprogramming.com/tutorial/virtual_inheritance.html

Dusan


1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - May 03 2013 : 02:45:35 AM
We don't want to get into static code analysis since it is a very complex area, and there are tools out there specializing just for that.
Personally, I have always been avoiding multiple inheritance, since there are too many problems arising from using it. Newer languages like Java, D and C# doesn't support it, and there is a reason for that.
But you are right, if we would want to get into the complex realm of code analysis, this would be a good thing to look into.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000