template2.C   [plain text]


//Build don't link:
//Inheritance from templates which are namespace members
namespace foo {

  template <class T>
  struct x {
    x(){}
  };

}

class y : public foo::x<int> {};

y r;