concurrent_unordered_set::size Method

返回元素数此并发容器的。 此方法是并发安全方法。

size_type size() const;

返回值

项的数目在容器中。

备注

在并发插入时,元素数。并发容器可以在调用此函数后更改,在返回值,即使读取之前。

要求

**标头:**internal_concurrent_hash.h

**命名空间:**并发

请参见

参考

concurrent_unordered_set 类