list::value_type
A type that represents the data type stored in a list.
typedef typename Allocator::value_type value_type;
Remarks
value_type is a synonym for the template parameter Type.
Example
// list_value_type.cpp
// compile with: /EHsc
#include <list>
#include <iostream>
int main( )
{
using namespace std;
list<int>::value_type AnInt;
AnInt = 44;
cout << AnInt << endl;
}
44
Requirements
Header: <list>
Namespace: std