Delen via


concurrent_priority_queue::push Method

Adds an element to the concurrent priority queue. This method is concurrency-safe.

void push(
   const value_type& _Elem
);

void push(
   value_type&& _Elem
);

Parameters

  • _Elem
    The element to be added to the concurrent priority queue.

Requirements

Header: concurrent_priority_queue.h

Namespace: concurrency

See Also

Reference

concurrent_priority_queue Class