다음을 통해 공유


unordered_multimap::max_size

Gets the maximum size of the controlled sequence.

size_type max_size() const;

설명

The member function returns the length of the longest sequence that the object can control.

예제

 

// std_tr1__unordered_map__unordered_multimap_max_size.cpp 
// compile with: /EHsc 
#include <unordered_map> 
#include <iostream> 
 
typedef std::unordered_multimap<char, int> Mymap; 
int main() 
    { 
    Mymap c1; 
 
    std::cout << "max_size() == " << c1.max_size() << std::endl; 
 
    return (0); 
    } 
 
  

요구 사항

헤더:<unordered_map>

네임스페이스: std

참고 항목

참조

<unordered_map>

unordered_multimap 클래스

unordered_multimap::size

기타 리소스

<unordered_map> 멤버