[patch] libstdc++/70940 Start fixing polymorphic memory resources

Jonathan Wakely jwakely@redhat.com
Wed May 4 12:08:00 GMT 2016


This fixes the first errors noted in the PR, so that resource_adaptor
doesn't rely on anything that isn't guaranteed by the Allocator
requirements, and __null_memory_resource::do_is_equal doesn't have a
missing return.

More work is needed to solve the alignment bugs, which I'll work on
soon.

Tested x86_64-linux, committed to trunk.

I'll backport these fixes to gcc-6 as well once they're complete.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 18267 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20160504/0838b122/attachment.bin>


More information about the Libstdc++ mailing list