[patch] Fix specializations of std::uses_allocator in <queue> and <stack>

Jonathan Wakely jwakely@redhat.com
Wed Oct 1 12:36:00 GMT 2014


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.



More information about the Libstdc++ mailing list