[ create a new paste ] login | about

Link: http://codepad.org/acpUHewX    [ raw code | fork ]

C++, pasted on Jun 9:
#include <iostream>
#include <vector>
using namespace std;

template <typename T>
class A
{
        public:
                vector<T*> viewports;
                A();
};

template <typename T>
A<T>::A()
{
}

int main ()
{
        A<int> a;
        cout << a.viewports.size() << endl;
}


Create a new paste based on this one


Comments: