list::value_type
Bir listede depolanan veri türünü temsil eden bir tür.
typedef typename Allocator::value_type value_type;
Notlar
value_typeŞablon parametresi ile eşanlamlıdır türü.
Örnek
// 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;
}
Gereksinimler
Başlık: <list>
Namespace: std