Can't link a template function

I have this code: template<typename T> class Listoid{ private: std::vector<T> list; public: typedef typename std::vector<T>::iterator iterator; iterator begin() {