Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F87484427
sb.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Oct 12, 23:05
Size
311 B
Mime Type
text/x-c++
Expires
Mon, Oct 14, 23:05 (2 d)
Engine
blob
Format
Raw Data
Handle
21606347
Attached To
R9411 tisue modeling
sb.cpp
View Options
#include <iostream>
using namespace std;
class C{
int c;
};
template <class T> class A{
public:
virtual void foo(){cout<<"template"<<endl;}
};
class B:public A<C>{
public:
virtual void foo(){
A<C>::foo();
cout<<"B"<<endl;
}
};
int main(int argc, char *argv[]){
B b;
b.foo();
return 0;
}
Event Timeline
Log In to Comment