concurrent_unordered_set::unsafe_erase 메서드
지정된 위치에 있는 concurrent_unordered_set에서 요소를 제거합니다. 이 메서드는 동시성이 보장되지 않습니다.
iterator unsafe_erase(
const_iterator _Where
);
size_type unsafe_erase(
const key_type& _Keyval
);
iterator unsafe_erase(
const_iterator _First,
const_iterator _Last
);
매개 변수
_Where
지우기위한 반복기 위치입니다._Keyval
지울 키 값입니다._First
_Last
반환 값
만일 요소가 없다면, 첫 두개의 멤버 함수들은 제거된 요소 다음에 남은 첫 번째 요소를 지정하는 반복기를 반환하거나, concurrent_unordered_set::end 메서드()를 합니다 . 셋째 멤버 함수는 제거 된 요소 수를 반환 합니다.
설명
첫번째 멤버 함수는 _Where 에 지정된 요소를 제거합니다. 두 번째 멤버 함수는 [_Begin, _End) 범위에서 요소들을 제거합니다.
세 번째 멤버 함수는 concurrent_unordered_set::equal_range 메서드(_Keyval)로 구분된 범위의 요소를 제거합니다.
요구 사항
헤더: concurrent_unordered_set.h
네임스페이스: 동시성