Can somebody please tell me, whats wrong with this:
Code:template <typename T> class base_record { public: typedef std::vector<T> list_type; list_type const& records() const { return m_records; } private: list_type m_records; list_type::size_type m_position; //the problem is here };