Compartilhar via


deque::value_type

A type that represents the data type stored in a deque.

typedef typename Allocator::value_type value_type;

Remarks

value_type is a synonym for the template parameter Type.

Example

// deque_value_type.cpp
// compile with: /EHsc
#include <deque>
#include <iostream>
int main( ) 
{
   using namespace std;
   deque<int>::value_type AnInt;
   AnInt = 44;
   cout << AnInt << endl;
}
44

Requirements

Header: <deque>

Namespace: std

See Also

Reference

deque Class

Standard Template Library