添加元素到并发优先级队列。 此方法是并发安全方法。
void push(
const value_type& _Elem
);
void push(
value_type&& _Elem
);
参数
- _Elem
要添加的元素到并发优先级队列。
要求
**头文件:**concurrent_priority_queue.h
**命名空间:**并发
添加元素到并发优先级队列。 此方法是并发安全方法。
void push(
const value_type& _Elem
);
void push(
value_type&& _Elem
);
**头文件:**concurrent_priority_queue.h
**命名空间:**并发