I know that STL containers have a value_type parameter and I've seen how it can be used to declare a type of a variable like:
vector<int>::value_type foo;
But can we just print this value_type to a console?
I want to see "string" in this example:
int main() {
vector<string> v = {"apple", "facebook", "microsoft", "google"};
cout << v << endl;
cout << v.value_type << endl;
return 0;
}