Freigeben über


unordered_multiset::size_type

The type of an unsigned distance between two elements.

typedef T2 size_type;

Remarks

The unsigned integer type describes an object that can represent the length of any controlled sequence. It is described here as a synonym for the implementation-defined type T2.

Example

 

// std_tr1__unordered_set__unordered_multiset_size_type.cpp 
// compile with: /EHsc 
#include <unordered_set> 
#include <iostream> 
 
typedef std::unordered_multiset<char> Myset; 
int main() 
    { 
    Myset c1; 
    Myset::size_type sz = c1.size(); 
 
    std::cout << "size == " << sz << std::endl; 
 
    return (0); 
    } 
 
size == 0

Requirements

Header: <unordered_set>

Namespace: std

See Also

Reference

<unordered_set>

unordered_multiset Class

unordered_multiset::difference_type

Other Resources

<unordered_set> Members