[Solved] Generic class with type as pointer to object of another class – NOT WORKING [closed]


Your code should compile if you:

  • choose one of class/struct in types and one of class/typename in template parameters
  • use semicolons after class or struct definitions
  • write > > instead of >> in nested templates (pre C++11)

5

solved Generic class with type as pointer to object of another class – NOT WORKING [closed]