Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C++ by nazgul ( 16 years ago )
#include <stdlib.h>
#include <set>
#include <string>

using namespace std;

template<class TestClass>
class MyClass {
  typedef set<TestClass*> MySet;
public:
  void foo() {
    MySet::iterator iter;
  }
};

int main ()
{
  MyClass<string> a;

  return EXIT_SUCCESS;
}

 

Revise this Paste

Your Name: Code Language: