Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

c++ templated methods

Name: Anonymous 2007-10-07 1:33

How to write implementation of method foo?


template <class T>
class Foo
{
public:
    Foo(void){}
    ~Foo(void){}
    template<class T1> void test(T1 a);
};

Name: Anonymous 2007-10-07 8:20

>>9
Ah, thank you. I tried doing
template<class T, class T1> thinking that would work, it didn't. Rather unfortunant syntax I think

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List