[patch] Simplify non-inline function definitions for std::unordered_xxx containers

Jonathan Wakely jwakely@redhat.com
Thu Dec 4 14:17:00 GMT 2014


On 04/12/14 14:11 +0000, Jonathan Wakely wrote:
>Although this touches almost every line of the hashtable.h and
>hastable_policy.h files, it's mostly mechanical. The main purpose is
>to replace every use of X* with a typedef like X_pointer, which comes
>from the allocator. In the common case it's just a typedef for X*, but
>the allocator can use something else. This fixes PR57272.

And here's the equivalent for std::forward_list (which was
considerably easier, since it's a much simpler container).


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


More information about the Libstdc++ mailing list