concurrent_vector::empty 方法

测试在调用此方法时并发向量是否为空。 此方法是并发安全方法。

bool empty() const;

返回值

true,如果调用函数时向量为空,否则为 false

要求

**标头:**concurrent_vector.h

命名空间: 并发

请参见

其他资源

concurrent_vector 类