I have a template class defined as the following:

Code:
template <class T, class HF>
class HashTable
{
   private:

   vector<list<T> > bucket;

  public:

  //public methods
  bool find(const T&) const;
  
};
What I'm trying to do is create an iterator to traverse the contents of bucket.

I've tried a few variations of defining a list iterator, such as
Code:
list<T>::const_iterator it;
but haven't found anything that is correct? Any ideas?