unordered_set::size_type
두 요소 사이의 부호가 없는 거리의 형식입니다.
typedef T2 size_type;
설명
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.
예제
// std_tr1__unordered_set__unordered_set_size_type.cpp
// compile with: /EHsc
#include <unordered_set>
#include <iostream>
typedef std::unordered_set<char> Myset;
int main()
{
Myset c1;
Myset::size_type sz = c1.size();
std::cout << "size == " << sz << std::endl;
return (0);
}
요구 사항
헤더: <unordered_set>
네임스페이스: std
참고 항목
참조
unordered_set::difference_type