Hello everyone,


I think the value_type of vector<int> should be int and the value_type of vector<int> should be int*. But I am not 100% sure,

1. how to write a program to verify this idea;
2. where to find the definition that the value_type of interator of vector<int> is int*.

It is appreciated if you could help.

Code:
#include <vector>

using namespace std;

int main (int argc, char** argv)
{
	vector<int>::value_type;  // should be int ?
	vector<int>::iterator::value_type; // should be int* ?

	return 0;
}

thanks in advance,
George