SHOW:
|
|
- or go back to the newest paste.
| 1 | ||
| 2 | - | template<typename X> struct rebind {
|
| 2 | + | |
| 3 | template<typename X> struct Y {
| |
| 4 | typedef C1<X> other; | |
| 5 | }; | |
| 6 | }; | |
| 7 | - | template<typename> class C2; |
| 7 | + | |
| 8 | template<typename t> class C2: public C1<t> | |
| 9 | - | template<> class C2<void> {
|
| 9 | + | |
| 10 | - | template<typename X> struct rebind {
|
| 10 | + | template<typename X> struct Y {
|
| 11 | typedef C2<X> other; | |
| 12 | }; | |
| 13 | }; | |
| 14 | ||
| 15 | C2<int> blowup; |