This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Resolved status.

1196. move semantics undefined for priority_queue

Section: 24.6.7.2 [priqueue.cons] Status: Resolved Submitter: Alisdair Meredith Opened: 2009-08-19 Last modified: 2016-01-28

Priority: Not Prioritized

View all issues with Resolved status.

Discussion:

The class template priority_queue declares signatures for a move constructor and move assignment operator in its class definition. However, it does not provide a definition (unlike std::queue, and proposed resolution for std::stack.) Nor does it provide a text clause specifying their behaviour.

[ 2009-08-23 Daniel adds: ]

1194 provides wording that solves this issue.

[ 2009-10 Santa Cruz: ]

Mark NAD EditorialResolved, solved by issue 1194.

Proposed resolution: