Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
345325
struct baseA { std::string junk; //virtual ~baseA() {} // decomment to avoid crash }; struct baseB { int junk; //virtual ~baseB() {} // decomment to avoid crash }; struct child : public baseA, public baseB { }; int main() { baseB* instance = new child{}; delete instance; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
fgm
Diferenciacion e integracion beta 0.1
Baaad1
virtual function
HeapSort
Random Vector Generator
Bez królików
Simple enemy polimorphism
2015(M2)Mod.
SayHi
Please log in to post a comment.