Advertisement
JoshDreamland

JDI's bane - Smaller

Jan 26th, 2014
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. template<typename t> class C1 {
  3.   template<typename X> struct Y {
  4.     typedef C1<X> other;
  5.   };
  6. };
  7.  
  8. template<typename t> class C2: public C1<t>
  9. {
  10.   template<typename X> struct Y {
  11.     typedef C2<X> other;
  12.   };
  13. };
  14.  
  15. C2<int> blowup;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement