template question

From: AngleWyrm (no_spam_anglewyrm_at_hotmail.com)
Date: 05/25/04


Date: Mon, 24 May 2004 22:31:29 GMT

If I have a templated class:

template< class T, class C = list<T> >
class something{
public:
    C::iterator memberFunction();
};

How do I write memberFunction code OUTSIDE the class?

I know this is WRONG:
something<T>::iterator something<T>::memberFunction(){}