blob: 97b9e5b3eaac91899ddd0f8b0d2aa51519005458 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
template <typename T>
struct set {
void insert (const T&);
template <class X>
void insert (X, X);
};
struct C : public set<int> {
void f (const int i) {
insert (i);
}
};
|