On 22/09/14 17:01 +0100, Jonathan Wakely wrote:
Include missing header, and add tests.
Tested x86_64-linux, committed to trunk.
... and the 4.9 branch.
Include <bits/uses_allocator.h> in <stack> and <queue>.
* include/bits/stl_queue.h: Include missing header.
* include/bits/stl_stack.h: Likewise.
* testsuite/23_containers/priority_queue/requirements/
uses_allocator.cc: New.
* testsuite/23_containers/queue/requirements/uses_allocator.cc: New.
* testsuite/23_containers/stack/requirements/uses_allocator.cc: New.