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. |
|
|