Export (0) Print
Expand All

deque::value_type

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

typedef typename Allocator::value_type value_type;

value_type is a synonym for the template parameter Type.

// 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

Header: <deque>

Namespace: std

Show:
© 2014 Microsoft