Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
inherited
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 #include <iostream> class Foo { public: virtual void print() { std::cout << "foo" << std::endl; } }; class Bar : public Foo { typedef Foo inherited; public: virtual void print() { std::cout << "bar" << std::endl; } }; class Foobar : public Bar { typedef Bar inherited; public: virtual void print() { inherited::inherited::print(); } }; int main() { Foobar foobar; foobar.print(); }
run
|
edit
|
history
|
help
0
#30.2
Generic EventProvider
karma legacy "variant" with attr_cast
cv3
Visual C++ template instantiation
Matrix_1
operator new / delete
MSVC14 <exception> header
constmsvc
Unicode_write2file