Is my understanding of a vector list correct. vector<list<int>>.
The vector holds a list of data type int?
class my_ht_chain
{
public:
//constructor which creates a table of a certain size
my_ht_chain(int size);
//destructor
~my_ht_chain();
//insert a value based on key
void insert(int key);
//search for a value based on key
bool search(int key);
//delete an item in the list
void remove(int key);
//prints out all items stored in hash table
void show_ht_structure() const;
private:
//number of vectors to store in array
int tablesize;
//table to store key
vector<list<int>>* dataTable;
//used to map a key to a position
int hashfunction(int key);
};