[ create a new paste ] login | about

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

C++, pasted on Dec 27:
1
2
3
4
5
6
7
8
9
10
template <class T>
class MyClass {
    public:
        template <class U>
        void foo()
        {
            U a;
            a.invoke();
        }
};


Output:
1
2
In function `_start':
undefined reference to `main'


Create a new paste based on this one


Comments: