0
What happens in diamond problem which lead us to ambiguity?
what makes the ambiguity when we dont inherit the classes virtually? https://code.sololearn.com/cD7Y0F3o0UZW/?ref=app
4 Antworten
+ 1
https://www.cprogramming.com/tutorial/virtual_inheritance.html
0
inherit by a non-virtual class make possible diamond problem because compiler dont know which method call (either super class inerith by base class though you dont override they)
0
you mean the overridden functions??
0
A code is better than 1000 words :)
https://code.sololearn.com/cK1wVF5rxldO/?ref=app